Model Context Protocol (MCP) server for freee API integration
curatedapi is installed from its publisher's own source and answers where it runs, so this marketplace is not in the path of a single call. There is no address here to send one to, and a panel that pretended otherwise would be showing you an answer we made up. Install it and call it from your own client — the Installation tab has the entry for each one.
What it does
99 exact calculators and official e-invoice validators, available over REST and MCP.
Quickstart
# 1 — add it to Claude Code
claude mcp add --scope user --transport http curatedapi-mcp https://mcp.curatedapi.com --header 'Authorization: Bearer ${AUTHORIZATION}'
# 2 — ask your agent for something these tools do
# calc_accounting_depreciation_india_companies_act, calc_accounting_depreciation_india_income_tax, calc_accounting_depreciation_macrs and 100 more
It needs AUTHORIZATION (Bearer API key, for example 'Bearer capi_live_…' or a test key ('Bearer capi_test_…')): this sends it in the Authorization header from your environment, so export it first — its endpoint answers 401 without it.
curatedapi costs nothing on mcprush: there is no plan to choose here, no cap to set and nothing mcprush can bill you for.
Collected from a public index. Nobody has claimed this account, so nothing here was written by its author — claim it if it is yours.
Where are you running it?
Every route below installs the same thing and ends at the same approval screen. Nothing here runs on your machine and nothing runs on ours: this server answers at its publisher’s own address, and what you install is the connection straight to it.
This is a public server: it answers at its publisher’s own address and this marketplace is not in the path. Claude Code registers it in one command; --scope user makes it available in every project. The transport below is http, as the publisher's own manifest declares it. Claude Code reads AUTHORIZATION (Bearer API key, for example 'Bearer capi_live_…' or a test key ('Bearer capi_test_…')) from your environment each time it connects and sends it in the Authorization header — its endpoint answers 401 without it — so the key stays out of its config: export it in your shell profile (macOS, Linux), or run setx AUTHORIZATION … and open a new terminal (Windows).
claude mcp add --scope user --transport http curatedapi-mcp https://mcp.curatedapi.com --header 'Authorization: Bearer ${AUTHORIZATION}'Reconnect, or start a new session, and the tools appear in the model’s tool list.
It reaches a system of yours, so it needs your own credential rather than the publisher’s: Authorization header — Bearer API key, for example 'Bearer capi_live_…' or a test key ('Bearer capi_test_…').. You set it in your own client’s config, on your machine — this marketplace never holds it.
One config entry pointing straight at the publisher’s own address — this marketplace is not in the path, and nothing from this listing executes on your machine.
103 tools, with what each one reads, writes and reaches shown before you agree — the same list on every route above. Read the tool surface.
Tool surface
What the model actually sees. Descriptions are diffed on every release — see version history.
Book depreciation for Indian companies over the Schedule II useful life, straight line (SLM) or written down value (WDV), pro rata by days. The depreciable amount (cost less residual value, 5% of cost unless you choose otherwise) is spread over the useful life. SLM charges the same amount each year; WDV uses the rate 1 − (residual / cost)^(1 / life), which brings the carrying amount to the residu
| Parameter | Type | Required | Notes |
|---|---|---|---|
| cost | string | yes | Cost of the asset. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| useful_life_years | integer | yes | Useful life in years (Schedule II Part C, or your own estimate). Allowed: >= 1 and <= 100. |
| method | string | yes | Depreciation method. Options: slm: straight line; wdv: written down value |
| date_put_to_use | string | yes | The day the asset was available for use. |
| residual_percent | string | no | Residual value as a percentage of cost. Allowed: >= 0 and < 100. Unit: percent. |
| wdv_rate_percent | string | no | WDV only: use this rate instead of the exact one, e.g. a rate rounded to 2 decimals. The last year still brings the carrying amount to the residual value. Allowed: > 0 and <= 100. Unit: percent. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
Tax depreciation on a block of assets: opening WDV plus additions less sale proceeds, with half the rate for additions used under 180 days. Depreciation is the block's rate on its written down value: the opening WDV, plus the year's additions, less the money received for assets sold. An asset acquired in the year and put to use for less than 180 days gets half the rate. If the sale proceeds excee
| Parameter | Type | Required | Notes |
|---|---|---|---|
| rate_percent | string | yes | The block's rate, e.g. 15 (general plant and machinery), 40 (computers), 10 (furniture), 5 or 10 (buildings). Allowed: > 0 and <= 100. Unit: percent. |
| tax_year_start | integer | yes | Year the tax year starts: 2026 means 1 April 2026 to 31 March 2027. Allowed: >= 1990 and <= 2200. |
| opening_wdv | string | no | WDV of the block at the start of the year. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| additions | array | no | Cost of each asset added in the year. Up to 500 items. Each item: >= 0 and <= 1000000000000000. |
| put_to_use_dates | array | no | The day each addition was put to use, in the same order. Up to 500 items. |
| sale_proceeds | string | no | Money payable for assets of the block sold, discarded or destroyed in the year (with any scrap value). Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| all_assets_sold | boolean | no | True when no asset is left in the block at the end of the year. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
US tax depreciation under MACRS (GDS) with the IRS percentage tables, Section 179 and bonus depreciation. Applies the Publication 946 Appendix A tables: half-year or mid-quarter for personal property (Tables A-1 to A-5), mid-month for residential rental (A-6, 27.5 years) and nonresidential real property (A-7a, 39 years). Section 179 comes off first, then bonus depreciation on what is left, then M
| Parameter | Type | Required | Notes |
|---|---|---|---|
| basis | string | yes | Depreciable basis: the cost, plus costs to get the property ready, less any business-use reduction. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| property_class | string | yes | Recovery period (property class). Options: 3: 3-year property (200% declining balance); 5: 5-year property such as cars, computers and office machinery (200% DB); 7: 7-year property such as office fur |
| placed_in_service | string | yes | The day the property was placed in service. |
| convention | string | no | Convention for personal property. 27.5- and 39-year property always use mid-month, whatever is passed. Options: half_year: half a year of depreciation in the first year (the usual case); mid_quarter: |
| tax_year_start_month | integer | no | Month your tax year starts (1 = calendar year). Short tax years are not supported. Allowed: >= 1 and <= 12. |
| section_179 | string | no | Section 179 deduction taken for the property. The dollar limit and business-income limit are not checked. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| bonus_percent | string | no | Special (bonus) depreciation percentage, e.g. 100 or 40, or 0 if you elect out. Allowed: >= 0 and <= 100. Unit: percent. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
Lessee accounting under US GAAP ASC 842: lease liability, right-of-use asset and the schedule for a finance or an operating lease. Both classes start the same way: the liability is the present value of the unpaid lease payments, and the right-of-use asset adds initial direct costs and payments made at or before commencement, less incentives received. A finance lease then has interest on the liabi
| Parameter | Type | Required | Notes |
|---|---|---|---|
| classification | string | yes | Lease classification. Options: finance: finance lease; operating: operating lease |
| payment | string | yes | The first lease payment. Later payments rise by annual_increase_percent once a year. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| payments_per_year | string | no | How often payments are made. Options: 1: yearly; 2: half-yearly; 4: quarterly; 12: monthly |
| number_of_payments | integer | yes | Number of payments over the lease term. Allowed: >= 1 and <= 600. |
| timing | string | no | 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 | string | yes | Annual discount rate: the rate implicit in the lease or your incremental borrowing rate. Allowed: >= 0 and <= 100. Unit: percent. |
| rate_convention | string | no | 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 d |
| annual_increase_percent | string | no | Fixed yearly increase in the payments (each new year's payment is rounded like the results). Allowed: >= 0 and <= 100. Unit: percent. |
| end_payment | string | no | 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 <= 100000000000 |
| initial_direct_costs | string | no | Initial direct costs (added to the asset). Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| lease_incentives | string | no | Lease incentives received (taken off the asset). Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| prepaid_payments | string | no | Lease payments made before commencement, other than the first payment in advance. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| rou_life_periods | integer | no | 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 | string | yes | Commencement date of the lease. |
| schedule_rounding | string | no | 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 ba |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
Lessee accounting under IFRS 16: the initial lease liability and right-of-use asset, and a schedule of interest, depreciation and balances. 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, in
| Parameter | Type | Required | Notes |
|---|---|---|---|
| payment | string | yes | The first lease payment. Later payments rise by annual_increase_percent once a year. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| payments_per_year | string | no | How often payments are made. Options: 1: yearly; 2: half-yearly; 4: quarterly; 12: monthly |
| number_of_payments | integer | yes | Number of payments over the lease term. Allowed: >= 1 and <= 600. |
| timing | string | no | 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 | string | yes | Annual discount rate: the rate implicit in the lease or your incremental borrowing rate. Allowed: >= 0 and <= 100. Unit: percent. |
| rate_convention | string | no | 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 d |
| annual_increase_percent | string | no | Fixed yearly increase in the payments (each new year's payment is rounded like the results). Allowed: >= 0 and <= 100. Unit: percent. |
| end_payment | string | no | 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 <= 100000000000 |
| initial_direct_costs | string | no | Initial direct costs (added to the asset). Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| lease_incentives | string | no | Lease incentives received (taken off the asset). Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| prepaid_payments | string | no | Lease payments made before commencement, other than the first payment in advance. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| restoration_costs | string | no | 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 | no | 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 | string | yes | Commencement date of the lease. |
| schedule_rounding | string | no | 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 ba |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
Final price after several percentage and fixed-amount discounts, applied in order like Stripe's stacked coupons, with an optional cap. Applies a list of discounts to a price, one after another. A percentage discount takes that percentage of the price left after the earlier discounts, so order matters: 20% then 5 off is not the same as 5 off then 20%. This is how Stripe applies several coupons to
| Parameter | Type | Required | Notes |
|---|---|---|---|
| subtotal | string | yes | The price before discounts. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| discounts | array | yes | The discounts in the order they apply: a percentage such as "20%" or an amount off such as "5" (in the subtotal's currency). 1 to 20 items. |
| stacking | string | no | How percentage discounts combine. Options: sequential: each discount applies to the price left after the earlier ones (Stripe's stacked coupons); additive: each percentage is taken from the original s |
| max_total_discount | string | no | Optional cap on the combined discount, like Stripe's "percent off up to maximum" coupon. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| options | object | no | Precision and rounding of the results (default: rounding=half_up, decimals=2). |
Credit for unused time and charge for the remaining time when a subscription changes plan mid-period, prorated to the second like Stripe, or by hour, day or week. When a customer changes plan part-way through a billing period, they are credited the unused part of what they paid for the old plan and charged the remaining part of the new one. Both are the full-period amount times the fraction of th
| Parameter | Type | Required | Notes |
|---|---|---|---|
| period_start | string | yes | Start of the current billing period, ISO 8601 (2026-04-01T00:00:00Z). A time without an offset is read as UTC. |
| period_end | string | yes | End of the current billing period (the next renewal). |
| change_at | string | yes | When the plan changes (Stripe's proration_date). Must be within the period. |
| old_amount | string | yes | What the old plan costs for a full period (price × quantity, after discounts). In Stripe's flexible billing mode, use what was actually billed for the period. 0 when adding a new item. Allowed: >= 0 a |
| new_amount | string | yes | What the new plan costs for a full period. 0 when cancelling or removing an item. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| granularity | string | no | Unit of time the proration is counted in. Options: exact: to the second (to the microsecond if the times have one), as Stripe and Chargebee do by default; hour: whole hours from the period start; day: |
| snap | string | no | With an hour, day or week granularity, which boundary the change time moves to. Options: nearest: the closer boundary; exactly halfway goes to the later one; up: the next boundary: the old plan runs f |
| options | object | no | Precision and rounding of the results (default: rounding=half_up, decimals=2). |
Price of a quantity under graduated or volume tiers, with optional flat fees, exactly as Stripe bills tiered prices. Prices a quantity (seats, API calls, gigabytes) on a tiered price list. With graduated tiers, each unit is charged at the price of the tier it falls in, so 12 units on tiers of 5 are charged 5 at the first price, 5 at the second and 2 at the third. With volume tiers, every unit is
| Parameter | Type | Required | Notes |
|---|---|---|---|
| quantity | string | yes | Number of units to price (whole or decimal, for metered usage). Allowed: >= 0 and <= 1000000000000000. |
| pricing_model | string | yes | How the tiers apply. Options: graduated: each tier's units at that tier's price, summed (Stripe tiers_mode=graduated); volume: all units at the price of the tier the quantity lands in (Stripe tiers_mo |
| tier_up_to | array | no | Upper limit of each tier except the last, inclusive and increasing. The first tier covers 0 up to the first limit, the next tier starts just above it, and the last tier has no limit (Stripe's up_to=in |
| tier_unit_price | array | yes | Price per unit in each tier, first tier first (any number of decimals, like Stripe's unit_amount_decimal). 1 to 100 items. Each item: >= 0 and <= 1000000000000000. Unit: currency. |
| tier_flat_fee | array | no | Flat fee of each tier, one per tier like tier_unit_price (Stripe's flat_amount). Omit it for no flat fees. Up to 100 items. Each item: >= 0 and <= 1000000000000000. Unit: currency. |
| options | object | no | Precision and rounding of the results (default: rounding=half_up, decimals=2). |
Check an 11-digit Australian Business Number with the Australian Business Register's modulus 89 rule. Checks an Australian Business Number the way the Australian Business Register describes: subtract 1 from the first digit, multiply the eleven digits by the weights 10, 1, 3, 5, 7, 9, 11, 13, 15, 17 and 19, and the total must divide by 89.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| number | string | yes | The 11-digit ABN. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters. |
Check the structure of a BIC (SWIFT code) under ISO 9362 and split it into party, country and branch. Checks a Business Identifier Code as ISO 9362 defines it: 8 or 11 characters, a four-character party prefix, a two-letter ISO 3166 country code, a two-character party suffix and an optional three-character branch. A BIC has no check digit, so the structure and the country code are all that can be
| Parameter | Type | Required | Notes |
|---|---|---|---|
| number | string | yes | The BIC to check, 8 or 11 characters. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters. |
Check the length and check digit of a CUSIP and split it into issuer, issue and check digit. Checks a nine-character CUSIP, the identifier of US and Canadian securities: six characters for the issuer, two for the issue and a check digit worked out with the CUSIP form of the Luhn rule (the 'modulus 10 double-add-double' method).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| number | string | yes | The nine-character CUSIP. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters. |
Check an IBAN's country, length, structure and check digits against the SWIFT IBAN registry, and say exactly what is wrong. Checks an International Bank Account Number the way ISO 13616 defines it: the country code must be in the SWIFT IBAN registry, the length and the structure of the account part (BBAN) must be the ones registered for that country, and the two check digits must be the ones MOD
| Parameter | Type | Required | Notes |
|---|---|---|---|
| number | string | yes | The IBAN to check. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters. |
Check the state code, structure and check character of an Indian GSTIN and read the PAN inside it. Checks a 15-character Goods and Services Tax Identification Number: a two-digit state code, the holder's ten-character PAN, an entity number, a default letter and a check character. The check character is worked out over the first 14 characters with the Luhn rule in base 36.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| number | string | yes | The 15-character GSTIN. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters. |
Check the structure of an Indian Permanent Account Number and read the kind of holder from its fourth character. Checks a ten-character Permanent Account Number: five letters, four digits and a letter, where the fourth character says whether the holder is an individual, a company, a firm, a trust and so on. The rule for the last letter is not published, so it cannot be checked.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| number | string | yes | The 10-character PAN. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters. |
Check the structure and check digit of an ISIN (ISO 6166) and split it into prefix, national number and check digit. Checks an International Securities Identification Number as ISO 6166 defines it: a two-letter prefix, a nine-character national securities number and a check digit worked out with the Luhn rule after the letters are turned into numbers.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| number | string | yes | The 12-character ISIN. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters. |
Check the length and check digits of a Legal Entity Identifier (ISO 17442). Checks a Legal Entity Identifier as ISO 17442 defines it: 20 letters and digits, the last two being check digits worked out with MOD 97-10. The first four characters identify the organisation that issued the LEI.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| number | string | yes | The 20-character LEI. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters. |
Check the check digit and the first two digits of a US ABA routing number. Checks a nine-digit ABA routing transit number: the first two digits must be in a range the American Bankers Association uses, and the ninth digit must be the check digit the first eight give with the weights 3, 7, 1.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| number | string | yes | The nine-digit routing number. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters. |
Check the structure and check digit of a VAT number from any EU member state, Northern Ireland, Great Britain, Switzerland or Norway. Checks a VAT identification number against its country's structure and check digit rule: all 27 EU member states, Northern Ireland (XI), Great Britain, Switzerland and Norway. This is the test to run before sending a number to VIES or putting it on an invoice: it c
| Parameter | Type | Required | Notes |
|---|---|---|---|
| number | string | yes | The VAT number, with or without its country prefix. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters. |
| country | string | no | The country, when the number has no prefix. Greece uses EL on VAT numbers. Options: AT: Austria; BE: Belgium; BG: Bulgaria; CY: Cyprus; CZ: Czechia; DE: Germany; DK: Denmark; EE: Estonia; EL: Greece; |
Add or subtract years, months, weeks, days, business days or hours to a date or date-time, with month-end and daylight-saving rules spelled out. Calendar amounts (years, months, weeks, days) move the date on the calendar, keeping the clock time; hours, minutes and seconds are then added as elapsed time. So adding 1 day across a daylight saving change keeps 09:00 at 09:00, while adding 24 hours ma
| Parameter | Type | Required | Notes |
|---|---|---|---|
| start | string | yes | Start date (YYYY-MM-DD) or date-time. At most 40 characters. |
| operation | string | no | Add or subtract. Options: add: add; subtract: subtract |
| years | integer | no | Years to add. Allowed: >= 0 and <= 9999. |
| months | integer | no | Months to add. Allowed: >= 0 and <= 120000. |
| weeks | integer | no | Weeks to add. Allowed: >= 0 and <= 600000. |
| days | integer | no | Days to add. Allowed: >= 0 and <= 4000000. |
| business_days | integer | no | Business days to add (alone, with a plain date). Allowed: >= 0 and <= 25000. |
| hours | integer | no | Hours of elapsed time to add (date-times). Allowed: >= 0 and <= 100000000. |
| minutes | integer | no | Minutes of elapsed time to add (date-times). Allowed: >= 0 and <= 100000000. |
| seconds | string | no | Seconds of elapsed time to add (date-times). Allowed: >= 0 and <= 10000000000. |
| timezone | string | no | IANA time zone for a date-time start without an offset. |
| weekend | string | no | Days that are not business days. Options: sat_sun: Saturday and Sunday; fri_sat: Friday and Saturday; sun: Sunday only; fri: Friday only; none: no weekend days |
| holidays | array | no | Dates that are not business days. Up to 1000 items. |
Exact age in years, months and days, plus the next birthday, with an explicit rule for 29 February birthdays. Age on a given date as completed years, months and days. People born on 29 February reach a new age on 28 February in common years by default (the rule in New Zealand and Taiwan, and the one consistent with date arithmetic); choose mar1 for the 1 March rule used in the UK and Hong Kong.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| birth_date | string | yes | Date of birth (YYYY-MM-DD). |
| on_date | string | no | Date to calculate the age on. Defaults to today in UTC. |
| leap_day_birthday | string | no | When someone born on 29 February has a birthday in a common year. Options: feb28: on 28 February; mar1: on 1 March |
Days, weeks, months, years and business days between two dates, or the exact time between two date-times across time zones and daylight saving changes. For two dates, returns the number of days (end minus start), the breakdown into years, months and days, and the number of business days. For two date-times, returns the exact elapsed time; each date-time needs a UTC offset or a time zone, and time
| Parameter | Type | Required | Notes |
|---|---|---|---|
| start | string | yes | Start date (YYYY-MM-DD) or date-time (2026-03-29T01:30:00+01:00). At most 40 characters. |
| end | string | yes | End date or date-time, same kind as start. At most 40 characters. |
| timezone | string | no | IANA time zone for date-times without an offset, e.g. America/New_York. |
| include_end_date | boolean | no | Count the end date too (so Monday to Friday is 5 days, like spreadsheet NETWORKDAYS). |
| weekend | string | no | Days that are not business days. Options: sat_sun: Saturday and Sunday; fri_sat: Friday and Saturday; sun: Sunday only; fri: Friday only; none: no weekend days |
| holidays | array | no | Dates that are not business days. Up to 1000 items. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The public holidays of a country or region in a year, worked out from the rules in its law, with the official source. Lists the public holidays of a year for the United States (federal), the United Kingdom (England and Wales, Scotland, Northern Ireland), Germany (nationwide and each of the 16 states), France, the Netherlands, Ireland, Belgium, Austria and Italy. Dates come from the rules themselv
| Parameter | Type | Required | Notes |
|---|---|---|---|
| calendar | string | yes | The country or region. Options: US: United States (federal holidays); GB-ENG: United Kingdom: England and Wales; GB-SCT: United Kingdom: Scotland; GB-NIR: United Kingdom: Northern Ireland; DE: Germany |
| year | integer | yes | The year. Allowed: >= 2020 and <= 2030. |
A moment in up to 25 time zones at once, with each zone's UTC offset and whether daylight saving time applies, from the IANA time zone database. Converts a date and time to other time zones. Give the moment with a UTC offset, or as a local time with the zone it is in, and the zones you want. Each answer has the local date and time, the day of the week, the UTC offset in force at that moment and w
| Parameter | Type | Required | Notes |
|---|---|---|---|
| datetime | string | yes | The moment: an ISO 8601 date-time with a UTC offset, or a local time in from_timezone. |
| from_timezone | string | no | The IANA time zone of a datetime that has no UTC offset. |
| to_timezones | array | yes | The IANA time zones to convert to, such as America/New_York. 1 to 25 items. |
Working days between two dates, or the date a number of working days away, leaving out weekends and a country's public holidays. Counts the working days between two dates, or finds the date that lies a number of working days after (or before) a start date. Weekends and the public holidays of the chosen country or region are left out, and you can add your own closing days. The answer lists the hol
| Parameter | Type | Required | Notes |
|---|---|---|---|
| start | string | yes | The start date. |
| end | string | no | The end date, to count working days. |
| add_days | integer | no | Working days to move from start, to find a date; negative to go back. The start date itself is not counted. Allowed: >= -2500 and <= 2500. |
| calendar | string | no | The public holidays to leave out (2020 to 2030). Omit it to count only weekends and extra_holidays. Options: US: United States (federal holidays); GB-ENG: United Kingdom: England and Wales; GB-SCT: Un |
| weekend | string | no | Days of the week that are not worked. Options: sat_sun: Saturday and Sunday; fri_sat: Friday and Saturday; sun: Sunday only; fri: Friday only; none: no weekend days |
| extra_holidays | array | no | More days that are not worked, such as company closing days. Up to 1000 items. |
| include_end_date | boolean | no | When counting: whether the end date counts too. Without it the count runs from start up to the day before end. |
The deadline a number of working hours after a start, or the working time between two moments, with office hours, weekends, public holidays and time zones. Answers the two questions a service-level agreement asks. When is the deadline, if a ticket opened now must be answered within 8 working hours? And how much working time passed between the moment it opened and the moment it closed? Working tim
| Parameter | Type | Required | Notes |
|---|---|---|---|
| start | string | yes | When the clock starts: a date-time with a UTC offset, or a local time in timezone. |
| timezone | string | yes | The IANA time zone the office hours are in. |
| add_hours | string | no | Working hours allowed, to find the deadline. Allowed: >= 0 and <= 20000. Unit: hours. |
| end | string | no | When the clock stops, to measure the working time. |
| day_start | string | no | When work starts each day, as HH:MM. At most 5 characters. |
| day_end | string | no | When work ends each day, as HH:MM; 24:00 for midnight. At most 5 characters. |
| calendar | string | no | The public holidays to leave out (2020 to 2030). Omit it to count only weekends and extra_holidays. Options: US: United States (federal holidays); GB-ENG: United Kingdom: England and Wales; GB-SCT: Un |
| weekend | string | no | Days of the week that are not worked. Options: sat_sun: Saturday and Sunday; fri_sat: Friday and Saturday; sun: Sunday only; fri: Friday only; none: no weekend days |
| extra_holidays | array | no | More days that are not worked, such as company closing days. Up to 1000 items. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=4). |
Sale price after a percentage or fixed discount, an optional stacked second discount and sales tax. Applies a discount (percent or amount), then an optional second percentage discount on the reduced price (the way '20% off, then an extra 10%' works in shops), then sales tax. Each money amount is rounded to the cent and the totals are built from those rounded amounts, so the figures always add up.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| price | string | yes | Original price. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| discount_percent | string | no | Discount in percent. Give this or discount_amount. Allowed: >= 0 and <= 100. Unit: percent. |
| discount_amount | string | no | Discount as an amount. Give this or discount_percent. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| additional_discount_percent | string | no | Second discount applied to the already reduced price. Allowed: >= 0 and <= 100. Unit: percent. |
| sales_tax_percent | string | no | Sales tax added after the discounts. Allowed: >= 0 and <= 100. Unit: percent. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
Tip amount, total and a fair split between people where the shares add up exactly to the bill. Adds a tip and splits the total. Splitting 100.00 three ways cannot give three equal amounts in cents, so the shares are 33.34, 33.33 and 33.33: they always add up to the total exactly, and the response says how many people pay one extra cent.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| bill_amount | string | yes | Bill before the tip. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| tip_percent | string | no | Tip in percent of the bill. Allowed: >= 0 and <= 100. Unit: percent. |
| people | integer | no | Number of people splitting the bill. Allowed: >= 1 and <= 1000. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
Total interest paid on a loan from one period to another, as Excel's CUMIPMT. CUMIPMT(rate, nper, pv, start_period, end_period, type).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| rate | string | yes | Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as "0.06/12". A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000. |
| nper | integer | yes | Total number of payment periods. Allowed: >= 1 and <= 12000. |
| pv | string | yes | Present value (the loan amount). A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. |
| start_period | integer | yes | First period to include (periods start at 1). Allowed: >= 1 and <= 12000. |
| end_period | integer | yes | Last period to include. Allowed: >= 1 and <= 12000. |
| type | integer | yes | 0: payments at the end of each period; 1: at the beginning. Allowed: >= 0 and <= 1. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Total principal repaid from one period to another, as Excel's CUMPRINC. CUMPRINC(rate, nper, pv, start_period, end_period, type).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| rate | string | yes | Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as "0.06/12". A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000. |
| nper | integer | yes | Total number of payment periods. Allowed: >= 1 and <= 12000. |
| pv | string | yes | Present value (the loan amount). A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. |
| start_period | integer | yes | First period to include (periods start at 1). Allowed: >= 1 and <= 12000. |
| end_period | integer | yes | Last period to include. Allowed: >= 1 and <= 12000. |
| type | integer | yes | 0: payments at the end of each period; 1: at the beginning. Allowed: >= 0 and <= 1. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Days between two dates on a 360-day year, by the US (NASD) or European method, as Excel's DAYS360. DAYS360(start_date, end_date, [method]). US method (false): a start date on the last day of a month becomes the 30th; an end date on the 31st becomes the 1st of the next month if the start day is before the 30th, otherwise the 30th. European method (true): every 31st becomes the 30th.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| start_date | string | yes | Start date. |
| end_date | string | yes | End date. |
| method | boolean | no | false: US (NASD) method; true: European method. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=0). |
Fixed-declining balance depreciation for one period, as Excel's DB, including its three-decimal rate and part-year first and last periods. DB(cost, salvage, life, period, [month]). The rate 1 − (salvage/cost)^(1/life) is rounded to three decimals, as Excel does. The first period covers month months; when month < 12 there is a final period life + 1 for the remainder.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| cost | string | yes | Initial cost of the asset. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 1000000000000000. |
| salvage | string | yes | Value at the end of its life (can be 0). A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 1000000000000000. |
| life | integer | yes | Life in years (whole years). Allowed: >= 1 and <= 1200. |
| period | integer | yes | The period (year) to calculate, from 1. Allowed: >= 1 and <= 1201. |
| month | integer | no | Months in the first year (default 12). Allowed: >= 1 and <= 12. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Double-declining (or any factor) balance depreciation for one period, as Excel's DDB. DDB(cost, salvage, life, period, [factor]) = min((cost − prior depreciation)·factor/life, cost − salvage − prior depreciation).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| cost | string | yes | Initial cost of the asset. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 1000000000000000. |
| salvage | string | yes | Value at the end of its life (can be 0). A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 1000000000000000. |
| life | string | yes | Number of periods over which the asset is depreciated. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 10000. |
| period | string | yes | The period, in the same unit as life. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 10000. |
| factor | string | no | Rate at which the balance declines (2 is double-declining). A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The Macaulay duration of a bond with periodic coupons, as Excel's DURATION: the average time to its payments, weighted by their present value. DURATION(settlement, maturity, coupon, yld, frequency, [basis]): the Macaulay duration in years for an assumed par value of 100. It is the weighted average of the times at which the bond pays, each weighted by the present value of that payment at the given
| Parameter | Type | Required | Notes |
|---|---|---|---|
| settlement | string | yes | Settlement date (when the buyer gets the bond). |
| maturity | string | yes | Maturity date. |
| coupon | string | yes | Annual coupon rate as a decimal. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 100. |
| yld | string | yes | Annual yield as a decimal. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 100. |
| frequency | integer | yes | Coupons per year: 1, 2 or 4. Allowed: >= 1 and <= 4. |
| basis | integer | no | Day count basis: 0 US (NASD) 30/360; 1 Actual/actual; 2 Actual/360; 3 Actual/365; 4 European 30/360. Allowed: >= 0 and <= 4. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The same day of the month a number of months before or after a date, as Excel's EDATE. EDATE(start_date, months). A day the target month lacks becomes its last day (31 January + 1 month = 28 or 29 February).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| start_date | string | yes | Start date. |
| months | integer | yes | Months to move: positive for later, negative for earlier. Allowed: >= -120000 and <= 120000. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=0). |
The effective annual rate from a nominal rate and compounding periods, as Excel's EFFECT. EFFECT(nominal_rate, npery) = (1 + nominal_rate/npery)^npery − 1.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| nominal_rate | string | yes | Nominal annual rate as a decimal. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000. |
| npery | integer | yes | Compounding periods per year (whole number). Allowed: >= 1 and <= 100000. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The last day of the month a number of months before or after a date, as Excel's EOMONTH. EOMONTH(start_date, months).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| start_date | string | yes | Start date. |
| months | integer | yes | Months to move: positive for later, negative for earlier. Allowed: >= -120000 and <= 120000. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=0). |
The future value of an investment with equal payments, the same as Excel's FV. FV(rate, nper, pmt, [pv], [type]): the balance after nper periods.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| rate | string | yes | Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as "0.06/12". A ratio of two decimals such as "0.08/12" is accepted. Allowed: > -1 and <= 1000. |
| nper | string | yes | Total number of payment periods. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 12000. |
| pmt | string | yes | Payment made each period (negative when you pay). A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| pv | string | no | Present value: the amount now. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| type | integer | no | When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The interest paid in one period of a loan, the same as Excel's IPMT. IPMT(rate, per, nper, pv, [fv], [type]): the interest in payment number per: the rate times the balance after the previous payment. With type 1 the first payment has no interest, as in Excel.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| rate | string | yes | Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as "0.06/12". A ratio of two decimals such as "0.08/12" is accepted. Allowed: > -1 and <= 1000. |
| per | string | yes | The period you want, from 1 to nper. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 1 and <= 12000. |
| nper | string | yes | Total number of payment periods. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 12000. |
| pv | string | yes | Present value: the amount now (a loan you receive is positive). A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| fv | string | no | Future value wanted after the last payment. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| type | integer | no | When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The modified Macaulay duration of a bond with periodic coupons, as Excel's MDURATION: the percentage change in price for a change in yield. MDURATION(settlement, maturity, coupon, yld, frequency, [basis]): the modified duration for an assumed par value of 100, which is DURATION divided by 1 + yld/frequency. A modified duration of 5.7 means the price falls by about 5.7% when the yield rises by one
| Parameter | Type | Required | Notes |
|---|---|---|---|
| settlement | string | yes | Settlement date (when the buyer gets the bond). |
| maturity | string | yes | Maturity date. |
| coupon | string | yes | Annual coupon rate as a decimal. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 100. |
| yld | string | yes | Annual yield as a decimal. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 100. |
| frequency | integer | yes | Coupons per year: 1, 2 or 4. Allowed: >= 1 and <= 4. |
| basis | integer | no | Day count basis: 0 US (NASD) 30/360; 1 Actual/actual; 2 Actual/360; 3 Actual/365; 4 European 30/360. Allowed: >= 0 and <= 4. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The modified IRR of periodic cash flows with separate finance and reinvestment rates, as Excel's MIRR. MIRR(values, finance_rate, reinvest_rate): negative flows are discounted at finance_rate, positive flows compounded at reinvest_rate, and the rate linking the two over n − 1 periods is returned.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| values | array | yes | Periodic cash flows, the first at the start. 2 to 1000 items. Each item: >= -1000000000000000 and <= 1000000000000000. |
| finance_rate | string | yes | Rate paid on money borrowed (negative flows). A ratio of two decimals such as "0.08/12" is accepted. Allowed: > -1 and <= 100. |
| reinvest_rate | string | yes | Rate earned on money reinvested (positive flows). A ratio of two decimals such as "0.08/12" is accepted. Allowed: > -1 and <= 100. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Working days between two dates, both included, with holidays and any weekend, as Excel's NETWORKDAYS and NETWORKDAYS.INTL. NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays]); with the default weekend it is NETWORKDAYS. Both dates count. Negative when end is before start.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| start_date | string | yes | Start date. |
| end_date | string | yes | End date. |
| holidays | array | no | Dates that are not working days. Up to 1000 items. |
| weekend | string | no | Weekend days, as in NETWORKDAYS.INTL: a weekend number ("1" Saturday and Sunday, "2" Sunday and Monday, ... "7" Friday and Saturday, "11" Sunday only, ... "17" Saturday only) or seven 0s and 1s starti |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=0). |
The nominal annual rate from an effective rate, as Excel's NOMINAL. NOMINAL(effect_rate, npery) = npery·((1 + effect_rate)^(1/npery) − 1).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| effect_rate | string | yes | Effective annual rate as a decimal. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000. |
| npery | integer | yes | Compounding periods per year (whole number). Allowed: >= 1 and <= 100000. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
How many periods it takes to pay off a loan or reach a goal, as Excel's NPER. NPER(rate, pmt, pv, [fv], [type]).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| rate | string | yes | Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as "0.06/12". A ratio of two decimals such as "0.08/12" is accepted. Allowed: > -1 and <= 1000. |
| pmt | string | yes | Payment made each period. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| pv | string | yes | Present value. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| fv | string | no | Future value wanted. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| type | integer | no | When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The payment per period for a loan or an investment, the same as Excel's PMT. PMT(rate, nper, pv, [fv], [type]): the constant payment that brings pv to fv over nper periods at rate. Negative when you pay, as in Excel.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| rate | string | yes | Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as "0.06/12". A ratio of two decimals such as "0.08/12" is accepted. Allowed: > -1 and <= 1000. |
| nper | string | yes | Total number of payment periods. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 12000. |
| pv | string | yes | Present value: the amount now (a loan you receive is positive). A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| fv | string | no | Future value wanted after the last payment. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| type | integer | no | When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The principal repaid in one period of a loan, the same as Excel's PPMT. PPMT(rate, per, nper, pv, [fv], [type]) = PMT − IPMT for that period.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| rate | string | yes | Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as "0.06/12". A ratio of two decimals such as "0.08/12" is accepted. Allowed: > -1 and <= 1000. |
| per | string | yes | The period you want, from 1 to nper. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 1 and <= 12000. |
| nper | string | yes | Total number of payment periods. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 12000. |
| pv | string | yes | Present value: the amount now (a loan you receive is positive). A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| fv | string | no | Future value wanted after the last payment. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| type | integer | no | When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The clean price per 100 of a bond paying periodic coupons, from its yield, as Excel's PRICE. PRICE(settlement, maturity, rate, yld, redemption, frequency, [basis]). Coupon dates count back from maturity in steps of 12/frequency months (a month-end maturity keeps every coupon on a month end). The accrued interest is subtracted, so this is the clean price.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| settlement | string | yes | Settlement date (when the buyer gets the bond). |
| maturity | string | yes | Maturity date. |
| rate | string | yes | Annual coupon rate as a decimal. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 100. |
| yld | string | yes | Annual yield as a decimal. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 100. |
| redemption | string | yes | Redemption value per 100 of face value. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000. |
| frequency | integer | yes | Coupons per year: 1, 2 or 4. Allowed: >= 1 and <= 4. |
| basis | integer | no | Day count basis: 0 US (NASD) 30/360; 1 Actual/actual; 2 Actual/360; 3 Actual/365; 4 European 30/360. Allowed: >= 0 and <= 4. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The present value of a series of equal payments, the same as Excel's PV. PV(rate, nper, pmt, [fv], [type]): what the payments (and fv) are worth now.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| rate | string | yes | Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as "0.06/12". A ratio of two decimals such as "0.08/12" is accepted. Allowed: > -1 and <= 1000. |
| nper | string | yes | Total number of payment periods. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 12000. |
| pmt | string | yes | Payment made each period (negative when you pay). A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| fv | string | no | Future value wanted after the last payment. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| type | integer | no | When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The interest rate per period of a loan or annuity, as Excel's RATE, proven correct to the last digit. RATE(nper, pmt, pv, [fv], [type], [guess]): the rate that solves the annuity equation. Excel iterates up to 20 times and can fail with #NUM!; here every rate above −100% is found and the one closest to guess is returned.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| nper | string | yes | Total number of payment periods. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 12000. |
| pmt | string | yes | Payment made each period. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| pv | string | yes | Present value. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| fv | string | no | Future value. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000. |
| type | integer | no | When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1. |
| guess | string | no | Your guess for the rate (Excel's default 0.1). Only used to choose between several solutions. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > -1 and <= 1000. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Straight-line depreciation for one period, as Excel's SLN. SLN(cost, salvage, life) = (cost − salvage) / life.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| cost | string | yes | Initial cost of the asset. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 1000000000000000. |
| salvage | string | yes | Value at the end of its life (can be 0). A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 1000000000000000. |
| life | string | yes | Number of periods over which the asset is depreciated. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 10000. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Sum-of-years' digits depreciation for one period, as Excel's SYD. SYD(cost, salvage, life, per) = (cost − salvage)·(life − per + 1)·2 / (life·(life + 1)).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| cost | string | yes | Initial cost of the asset. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 1000000000000000. |
| salvage | string | yes | Value at the end of its life (can be 0). A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 1000000000000000. |
| life | string | yes | Number of periods over which the asset is depreciated. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 10000. |
| per | string | yes | The period, from 1 to life. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 10000. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Declining-balance depreciation between any two points in an asset's life, switching to straight line, as Excel's VDB. VDB(cost, salvage, life, start_period, end_period, [factor], [no_switch]). Periods may be fractional. Unless no_switch is true, depreciation switches to straight line once that is larger than the declining balance.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| cost | string | yes | Initial cost of the asset. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 1000000000000000. |
| salvage | string | yes | Value at the end of its life (can be 0). A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 1000000000000000. |
| life | string | yes | Number of periods over which the asset is depreciated. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 10000. |
| start_period | string | yes | Start of the span, in the unit of life (0 is the start of the asset's life). A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 10000. |
| end_period | string | yes | End of the span. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 10000. |
| factor | string | no | Rate at which the balance declines (2 is double-declining). A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000. |
| no_switch | boolean | no | true: never switch to straight line. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The date a number of working days before or after a date, with holidays and any weekend, as Excel's WORKDAY and WORKDAY.INTL. WORKDAY.INTL(start_date, days, [weekend], [holidays]). The start date itself is not counted; days = 0 returns start_date.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| start_date | string | yes | Start date. |
| days | integer | yes | Working days to move (negative for earlier). Allowed: >= -35000 and <= 35000. |
| holidays | array | no | Dates that are not working days. Up to 1000 items. |
| weekend | string | no | Weekend days, as in NETWORKDAYS.INTL: a weekend number ("1" Saturday and Sunday, "2" Sunday and Monday, ... "7" Friday and Saturday, "11" Sunday only, ... "17" Saturday only) or seven 0s and 1s starti |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=0). |
The annual rate of return of cash flows on any dates, as Excel's XIRR, proven correct to the last digit. XIRR(values, dates, [guess]): the rate at which XNPV is zero. Excel iterates to within 0.000001% and gives up after 100 tries; here every rate above −100% is found and pinned down exactly.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| values | array | yes | The cash flows. Money paid out is negative, money received positive. 2 to 1000 items. Each item: >= -1000000000000000 and <= 1000000000000000. |
| dates | array | yes | The date of each cash flow, in the same order. The first date is the start: no date may be before it. 2 to 1000 items. |
| guess | string | no | Your guess (Excel's default 0.1); chooses between several solutions. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > -1 and <= 1000. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Net present value of cash flows on any dates, the same as Excel's XNPV. XNPV(rate, values, dates) = Σ valueᵢ / (1 + rate)^((dateᵢ − date₁)/365). Each flow is discounted by its days from the first date over a 365-day year, as in Excel.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| rate | string | yes | Annual discount rate as a decimal. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > -1 and <= 1000. |
| values | array | yes | The cash flows. Money paid out is negative, money received positive. 2 to 1000 items. Each item: >= -1000000000000000 and <= 1000000000000000. |
| dates | array | yes | The date of each cash flow, in the same order. The first date is the start: no date may be before it. 2 to 1000 items. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The fraction of a year between two dates under Excel's five day-count bases, including Excel's own actual/actual rule. YEARFRAC(start_date, end_date, [basis]). Basis 1 follows Excel exactly: within a year it divides by 365 or 366 (366 when the span includes 29 February); over longer spans it divides by the average length of the calendar years touched. Basis 0 treats the last day of February as th
| Parameter | Type | Required | Notes |
|---|---|---|---|
| start_date | string | yes | Start date. |
| end_date | string | yes | End date. |
| basis | integer | no | Day count basis: 0 US (NASD) 30/360; 1 Actual/actual; 2 Actual/360; 3 Actual/365; 4 European 30/360. Allowed: >= 0 and <= 4. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
The yield of a bond paying periodic coupons, from its price, as Excel's YIELD, proven correct to the last digit. YIELD(settlement, maturity, rate, pr, redemption, frequency, [basis]): the yield at which PRICE gives pr. With one coupon or less left it is Microsoft's closed form; otherwise the root of the PRICE equation.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| settlement | string | yes | Settlement date (when the buyer gets the bond). |
| maturity | string | yes | Maturity date. |
| rate | string | yes | Annual coupon rate as a decimal. A ratio of two decimals such as "0.08/12" is accepted. Allowed: >= 0 and <= 100. |
| pr | string | yes | Clean price per 100 of face value. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000. |
| redemption | string | yes | Redemption value per 100 of face value. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000. |
| frequency | integer | yes | Coupons per year: 1, 2 or 4. Allowed: >= 1 and <= 4. |
| basis | integer | no | Day count basis: 0 US (NASD) 30/360; 1 Actual/actual; 2 Actual/360; 3 Actual/365; 4 European 30/360. Allowed: >= 0 and <= 4. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Annual percentage rate of charge (APRC, the UK's APR) for consumer and mortgage credit, by the EU directives' equation and day count. Computes the annual percentage rate of charge defined in the EU Consumer Credit and Mortgage Credit Directives (Annex III and Annex I) and in the UK FCA rules (CONC App 1, MCOB 10A): the yearly rate X at which the payments, discounted with (1 + X) to the power of m
| Parameter | Type | Required | Notes |
|---|---|---|---|
| credit_amount | string | yes | The credit, drawn down in full at the start. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| upfront_charges | string | no | Charges the consumer pays at the start (arrangement or valuation fees, for example). Charges paid later go into the payments they are paid with. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| payment_amounts | array | yes | The payments in order. Give one amount per group of equal payments and the group sizes in payment_counts, e.g. ["210.71", "220.25"] with [24, 36]; without payment_counts each amount is one payment. 1 |
| payment_counts | array | no | How many payments of each amount in payment_amounts (whole numbers, same order). Omit it when every amount is a single payment. Up to 100 items. Each item: >= 1 and <= 1200. |
| payment_frequency | string | no | How often payments are made. Options: monthly: every month, 1/12 of a year; quarterly: every 3 months; semiannually: every 6 months; annually: every year; weekly: every week, 1/52 of a year; fortnight |
| start_date | string | no | Date of the drawdown (the credit agreement). Give it with first_payment_date to count exact days; without both, the first payment is one period after the drawdown. |
| first_payment_date | string | no | Date of the first payment. Later payments fall on the same day of the month (or the same weekday) at the payment frequency. |
| include_schedule | boolean | no | Also return each payment with its time in years. |
| options | object | no | Precision and rounding of the results (default: rounding=half_up, decimals=1). |
The annual percentage rate of a closed-end loan the way Regulation Z Appendix J defines it (actuarial method), with odd first periods and the accuracy tolerance. Computes the APR that US lenders must disclose under the Truth in Lending Act, using the actuarial method of Regulation Z, Appendix J: the rate per unit-period at which the payments, discounted back to consummation, equal the amount fina
| Parameter | Type | Required | Notes |
|---|---|---|---|
| amount_financed | string | yes | The amount financed: the credit the borrower receives, after any prepaid finance charges. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| payment_amounts | array | yes | The payments in order. Give one amount per group of equal payments and the group sizes in payment_counts, e.g. ["210.71", "220.25"] with [24, 36]; without payment_counts each amount is one payment. 1 |
| payment_counts | array | no | How many payments of each amount in payment_amounts (whole numbers, same order). Omit it when every amount is a single payment. Up to 100 items. Each item: >= 1 and <= 1200. |
| payment_frequency | string | no | How often payments are due; this is the unit-period. Options: monthly: 12 a year; semimonthly: 24 a year; biweekly: every 2 weeks, 26 a year; weekly: 52 a year; quarterly: 4 a year; semiannually: 2 a |
| consummation_date | string | no | When the loan is made (the finance charge starts). Give it with first_payment_date to count an odd first period; without both, the first payment is one full period after consummation. |
| first_payment_date | string | no | When the first payment is due. Later payments follow at the payment frequency. |
| month_end_payments | boolean | no | Payments are due on the last day of each month, so months are counted from month end to month end (Appendix J (b)(3)(iv)). |
| options | object | no | Precision and rounding of the results (default: rounding=half_up, decimals=2). |
The Black (1976) price and Greeks of a European option on a future or forward: commodity and bond futures options, caps, floors and swaptions. Values a European option on a futures or forward price with Black's 1976 model. It is the Black-Scholes formula with the forward price in place of the spot price and the whole payoff discounted, and is the market standard for options on commodity and inter
| Parameter | Type | Required | Notes |
|---|---|---|---|
| forward | string | yes | The futures or forward price now. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. |
| strike | string | yes | The option's strike price. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. |
| time_to_expiry_years | string | yes | Time to expiry in years. Write days as a ratio, such as "30/365". A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 100. |
| volatility_percent | string | yes | Volatility per year in percent (20 for 20%). Allowed: > 0 and <= 1000. Unit: percent. |
| risk_free_rate_percent | string | yes | Risk-free interest rate per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent. |
| option_type | string | yes | Call or put. Options: call: the right to buy; put: the right to sell |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=6). |
The Black-Scholes-Merton price of a European call or put with delta, gamma, vega, theta and rho, correct to the last digit shown. Values a European option on a stock, index or currency with the Black-Scholes formula, with Merton's extension for a continuous dividend yield. The answer has the price and the five Greeks, and d1 and d2 for checking by hand. The normal distribution is evaluated with p
| Parameter | Type | Required | Notes |
|---|---|---|---|
| spot | string | yes | The underlying's price now. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. |
| strike | string | yes | The option's strike price. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. |
| time_to_expiry_years | string | yes | Time to expiry in years. Write days as a ratio, such as "30/365". A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 100. |
| volatility_percent | string | yes | Volatility per year in percent (20 for 20%). Allowed: > 0 and <= 1000. Unit: percent. |
| risk_free_rate_percent | string | yes | Risk-free interest rate per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent. |
| dividend_yield_percent | string | no | Dividend yield per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent. |
| option_type | string | yes | Call or put. Options: call: the right to buy; put: the right to sell |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=6). |
The price of a coupon bond at a yield, with its Macaulay and modified duration, convexity and DV01, for any settlement date. Prices a bond that pays periodic coupons by discounting each payment at the yield, and measures how the price reacts when the yield moves. Modified duration is the percentage fall in price for a rise of one percentage point in yield; convexity is the correction for larger m
| Parameter | Type | Required | Notes |
|---|---|---|---|
| settlement | string | yes | Settlement date (when the buyer gets the bond). |
| maturity | string | yes | Maturity date. |
| coupon_rate_percent | string | yes | Annual coupon rate in percent of face value. Allowed: >= 0 and <= 1000. Unit: percent. |
| yield_percent | string | yes | Annual yield to maturity in percent, compounded at the coupon frequency. Allowed: > -50 and <= 1000. Unit: percent. |
| redemption | string | no | Amount repaid at maturity per 100 of face value. Allowed: > 0 and <= 1000000. |
| frequency | integer | no | Coupons per year: 1, 2 or 4. Allowed: >= 1 and <= 4. |
| day_count | string | no | How days are counted for accrued interest. Options: 30/360: US (NASD) 30/360; actual/actual: actual days over the actual length of the coupon period; actual/360: actual days over a 360-day year; actua |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=6). |
Future value of a lump sum with annual, monthly, daily or continuous compounding, plus the effective annual rate (APY). Grows a single deposit at a nominal annual rate compounded m times a year: A = P(1 + r/m)^(m·t), or A = P·e^(r·t) for continuous compounding. Whole numbers of periods are computed exactly; anything else is computed with certified high-precision arithmetic and rounded correctly.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| principal | string | yes | Amount deposited at the start. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| annual_rate_percent | string | yes | Nominal annual interest rate in percent (may be negative, above -100). Allowed: > -100 and <= 1000. Unit: percent. |
| years | string | yes | Time in years. Allowed: >= 0 and <= 200. Unit: years. |
| compounding | string | no | How often interest is compounded. Options: annually: once a year; semiannually: twice a year; quarterly: 4 times a year; monthly: 12 times a year; weekly: 52 times a year; daily: 365 times a year; con |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
How much sooner a loan is paid off, and how much interest is saved, by paying extra each month or making one lump-sum payment. Runs a loan's schedule twice: once as agreed, and once with an extra amount on top of every payment, a single lump sum in a month you choose, or both. Extra money goes straight to the balance, so less interest builds up afterwards. The answer gives the new pay-off time an
| Parameter | Type | Required | Notes |
|---|---|---|---|
| principal | string | yes | The loan amount. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| annual_rate_percent | string | yes | The annual interest rate. Allowed: >= 0 and <= 100. Unit: percent. |
| term_months | integer | yes | The loan term in months. Allowed: >= 1 and <= 600. |
| extra_monthly_payment | string | no | Extra paid with every monthly payment. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| lump_sum | string | no | A single extra payment. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| lump_sum_month | integer | no | The payment number the lump sum is made with (1 is the first payment). Allowed: >= 1 and <= 600. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
The upfront and annual mortgage insurance premium on an FHA loan, from HUD's current rate tables, and how long the annual premium is charged. An FHA-insured mortgage carries two insurance premiums. The upfront premium is 1.75% of the base loan amount and is usually added to the loan. The annual premium depends on the loan term, the base loan amount and the loan-to-value ratio, and is charged mont
| Parameter | Type | Required | Notes |
|---|---|---|---|
| base_loan_amount | string | yes | The loan before the upfront premium is added. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| property_value | string | yes | The value the loan-to-value ratio is measured against: the lower of the price and the appraised value. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| term_years | string | yes | The mortgage term in years. Allowed: >= 1 and <= 30. |
| finance_upfront_mip | boolean | no | Whether the upfront premium is added to the loan instead of paid in cash. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
The volatility at which the Black-Scholes-Merton formula gives an option's market price, pinned between proven bounds. Turns an option's price back into the volatility that explains it. The Black-Scholes price rises with volatility, so a price inside the option's possible range matches exactly one volatility. It is found here by closing in on it and then proving that the price is too low just bel
| Parameter | Type | Required | Notes |
|---|---|---|---|
| option_price | string | yes | The option's market price. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. |
| spot | string | yes | The underlying's price now. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. |
| strike | string | yes | The option's strike price. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. |
| time_to_expiry_years | string | yes | Time to expiry in years. Write days as a ratio, such as "30/365". A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 100. |
| risk_free_rate_percent | string | yes | Risk-free interest rate per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent. |
| dividend_yield_percent | string | no | Dividend yield per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent. |
| option_type | string | yes | Call or put. Options: call: the right to buy; put: the right to sell |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=6). |
Internal rate of return of periodic cash flows, with every IRR reported when there is more than one. Finds the discount rate at which the net present value of the cash flows is zero. Unlike spreadsheet IRR(), no starting guess is needed: all IRRs between −100% and the mathematical bound are searched, each one is pinned down with exact arithmetic, and the result is correctly rounded. When the cash
| Parameter | Type | Required | Notes |
|---|---|---|---|
| cash_flows | array | yes | Cash flows in time order, one per period. Money paid out is negative, money received is positive. 2 to 600 items. Each item: >= -1000000000000000 and <= 1000000000000000. |
| periods_per_year | integer | no | Set to 12 for monthly flows, 4 for quarterly, ... to also get the effective annual IRR. Allowed: >= 1 and <= 365. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=4). |
Monthly instalment (EMI), total interest and an exact amortization schedule for a fixed-rate loan. Computes the equated monthly instalment for a fixed-rate loan repaid in equal monthly payments, the total paid and the total interest. The schedule is computed the way lenders do it: each month's interest is rounded to the cent, every payment is the rounded EMI, and the final payment is adjusted so
| Parameter | Type | Required | Notes |
|---|---|---|---|
| principal | string | yes | Amount borrowed. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| annual_rate_percent | string | yes | Nominal annual interest rate in percent (7.5 means 7.5%), compounded monthly. Allowed: >= 0 and <= 100. Unit: percent. |
| term_months | integer | yes | Number of monthly payments. Allowed: >= 1 and <= 1200. |
| include_schedule | boolean | no | Also return the month-by-month schedule. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
Monthly mortgage payment including property tax, insurance, HOA dues and PMI, with an exact amortization schedule. Splits the monthly housing payment into principal and interest, property tax, home insurance, HOA dues and private mortgage insurance (PMI). Principal and interest use the same exact, lender-style schedule as the loan EMI calculator. PMI applies when the loan is more than 80% of the
| Parameter | Type | Required | Notes |
|---|---|---|---|
| home_price | string | yes | Purchase price of the home. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| down_payment | string | no | Down payment as an amount. Give this or down_payment_percent. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| down_payment_percent | string | no | Down payment as a percent of the price. Give this or down_payment. Allowed: >= 0 and <= 100. Unit: percent. |
| annual_rate_percent | string | yes | Nominal annual interest rate in percent. Allowed: >= 0 and <= 100. Unit: percent. |
| term_years | integer | yes | Length of the mortgage in years. Allowed: >= 1 and <= 50. |
| annual_property_tax | string | no | Property tax per year. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| annual_home_insurance | string | no | Home insurance premium per year. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| monthly_hoa | string | no | Homeowners association dues per month. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| pmi_annual_rate_percent | string | no | PMI premium per year as a percent of the original loan amount (often 0.3 to 1.5). Only applied when the loan is above 80% of the price. Allowed: >= 0 and <= 10. Unit: percent. |
| include_schedule | boolean | no | Also return the month-by-month schedule. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
The largest loan and home price an income supports, from housing and debt-to-income ratios you set (28% and 36% by default). Lenders compare monthly payments with gross monthly income. This calculator takes two limits: the share of income that may go to housing costs, and the share that may go to all debt payments together. It finds the largest housing payment that meets both, takes off property
| Parameter | Type | Required | Notes |
|---|---|---|---|
| gross_monthly_income | string | yes | Income per month before tax. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| monthly_debt_payments | string | no | Other debt payments per month: car loans, student loans, credit card minimums. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| annual_rate_percent | string | yes | The mortgage's annual interest rate. Allowed: >= 0 and <= 100. Unit: percent. |
| term_years | integer | yes | The mortgage term in years. Allowed: >= 1 and <= 50. |
| down_payment | string | no | Cash paid towards the price. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| monthly_taxes_insurance_and_fees | string | no | Property tax, home insurance, mortgage insurance and association fees per month. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| housing_ratio_percent | string | no | The most of gross income that may go to housing costs (the front-end ratio). Allowed: > 0 and <= 100. Unit: percent. |
| debt_ratio_percent | string | no | The most of gross income that may go to housing costs and other debts together (the back-end or debt-to-income ratio). Allowed: > 0 and <= 100. Unit: percent. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
Net present value of a series of periodic cash flows at a discount rate. Discounts each cash flow to today and adds them up: NPV = Σ CFₜ / (1 + r)ᵗ. By default the first cash flow happens now (t = 0) and is not discounted, the usual finance-textbook convention. Choose first_cash_flow_at = t1 to match spreadsheet NPV() functions, which discount the first value by one period.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| discount_rate_percent | string | yes | Discount rate per period, in percent. Allowed: > -100 and <= 1000. Unit: percent. |
| cash_flows | array | yes | Cash flows in time order, one per period. Money paid out is negative, money received is positive. 1 to 600 items. Each item: >= -1000000000000000 and <= 1000000000000000. |
| first_cash_flow_at | string | no | When the first cash flow happens. Options: t0: now, not discounted (finance convention); t1: at the end of the first period (spreadsheet NPV convention) |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
How many months of lower payments it takes to earn back the closing costs of a refinance, and the difference in total cost over the life of the loans. Compares keeping a loan with replacing it. It works out the payment on what is left of the current loan and on the new loan, the monthly saving, and the break-even point: the first month by which the savings add up to the closing costs. It also tot
| Parameter | Type | Required | Notes |
|---|---|---|---|
| current_balance | string | yes | What is still owed. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| current_rate_percent | string | yes | The current loan's annual rate. Allowed: >= 0 and <= 100. Unit: percent. |
| remaining_months | integer | yes | Months left on the current loan. Allowed: >= 1 and <= 600. |
| new_rate_percent | string | yes | The new loan's annual rate. Allowed: >= 0 and <= 100. Unit: percent. |
| new_term_months | integer | yes | The new loan's term in months. Allowed: >= 1 and <= 600. |
| closing_costs | string | no | Fees and costs of the refinance. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| finance_closing_costs | boolean | no | true when the costs are added to the new loan instead of paid in cash. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
The net cost of renting against buying a home over a number of years, from assumptions you set, with the first year in which buying comes out ahead. Adds up what each choice costs over the years you plan to stay. Buying costs the down payment, the buying costs, the mortgage payments and the yearly costs of owning, less what is left after selling the home and repaying the loan. Renting costs the r
| Parameter | Type | Required | Notes |
|---|---|---|---|
| home_price | string | yes | The price of the home. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| down_payment | string | yes | Cash paid towards the price. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| annual_rate_percent | string | yes | The mortgage's annual rate. Allowed: >= 0 and <= 100. Unit: percent. |
| term_years | integer | yes | The mortgage term in years. Allowed: >= 1 and <= 50. |
| years | integer | yes | How many years to compare. Allowed: >= 1 and <= 50. |
| monthly_rent | string | yes | Rent per month in the first year. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| rent_increase_percent | string | yes | How much the rent rises each year. Allowed: >= 0 and <= 100. Unit: percent. |
| home_appreciation_percent | string | yes | How much the home's value changes each year; negative for a fall. Allowed: >= -50 and <= 100. Unit: percent. |
| annual_ownership_cost_percent | string | yes | Property tax, insurance and upkeep per year, as a percentage of the home's value. Allowed: >= 0 and <= 100. Unit: percent. |
| buying_costs_percent | string | yes | Costs of buying, as a percentage of the price. Allowed: >= 0 and <= 100. Unit: percent. |
| selling_costs_percent | string | yes | Costs of selling, as a percentage of the sale price. Allowed: >= 0 and <= 100. Unit: percent. |
| investment_return_percent | string | yes | The yearly return the down payment and buying costs would earn if invested instead. Allowed: >= 0 and <= 100. Unit: percent. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
Gain, ROI percentage and annualized return (CAGR) of an investment. ROI = (amount returned − amount invested) ÷ amount invested. With the holding period in years, also returns the annualized return (compound annual growth rate): (returned ÷ invested)^(1 ÷ years) − 1.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| amount_invested | string | yes | Total amount put in. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| amount_returned | string | yes | Total amount received back (sale value plus income). Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| years | string | no | Holding period in years, for the annualized return. Allowed: > 0 and <= 1000. Unit: years. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
How much to save each month (or week, or year) to reach a goal, or how long it takes with a given contribution. Solves the future-value-of-annuity equation either for the regular contribution or for the number of contributions. Interest compounds once per contribution period. The final balance is recomputed exactly with the rounded contribution, so you can see whether it lands on, above or below
| Parameter | Type | Required | Notes |
|---|---|---|---|
| goal_amount | string | yes | The amount you want to reach. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| current_savings | string | no | Amount already saved. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| annual_rate_percent | string | yes | Expected annual interest or return in percent. Allowed: >= 0 and <= 100. Unit: percent. |
| solve_for | string | no | What to calculate. Options: contribution: the contribution needed to reach the goal in a given time; time: how many contributions are needed with a given contribution |
| years | string | no | Time to reach the goal, in years (solve_for = contribution). Allowed: > 0 and <= 100. Unit: years. |
| contribution | string | no | Contribution per period (solve_for = time). Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| contribution_frequency | string | no | How often you contribute. Options: monthly: 12 contributions a year; semimonthly: 24 contributions a year; biweekly: 26 contributions a year; weekly: 52 contributions a year; quarterly: 4 contribution |
| contribution_timing | string | no | When in each period you contribute. Options: end: at the end of each period (ordinary annuity); beginning: at the start of each period (annuity due) |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
Simple interest for a number of years or between two dates, with standard day-count conventions (Actual/365, Actual/360, Actual/Actual, 30/360, 30E/360). Interest that is not compounded: I = P × r × t. Give the time either as a number of years or as a start and end date. With dates, the year fraction t follows a day-count convention from the ISDA 2006 Definitions; the exact fraction used is retur
| Parameter | Type | Required | Notes |
|---|---|---|---|
| principal | string | yes | Amount the interest is charged on. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
| annual_rate_percent | string | yes | Annual interest rate in percent. Allowed: >= 0 and <= 1000. Unit: percent. |
| years | string | no | Time in years (for example 0.5). Use this or the two dates. Allowed: >= 0 and <= 1000. Unit: years. |
| start_date | string | no | First day of the interest period (YYYY-MM-DD). |
| end_date | string | no | Day the interest period ends (YYYY-MM-DD); interest accrues up to but not including this day. |
| day_count | string | no | Day-count convention used with dates. Options: actual/365: Actual/365 Fixed: actual days ÷ 365.; actual/360: Actual/360: actual days ÷ 360.; actual/actual: Actual/Actual (ISDA): days in each calendar |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
The upfront guarantee fee and the annual fee on a USDA guaranteed home loan, at the rates USDA Rural Development set for fiscal year 2027. A USDA Single Family Housing Guaranteed loan has an upfront guarantee fee of 1.00% and an annual fee of 0.35%, for purchases and refinances in fiscal year 2027 (1 October 2026 to 30 September 2027). The upfront fee can be added to the loan; it is then 1% of th
| Parameter | Type | Required | Notes |
|---|---|---|---|
| loan_amount | string | yes | The loan before the upfront fee is added. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| finance_upfront_fee | boolean | no | Whether the upfront fee is added to the loan instead of paid in cash. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
The VA funding fee on a home loan, from the Department of Veterans Affairs' current rate chart, by loan type, down payment and first or later use. Most VA home loans carry a one-time funding fee, a percentage of the loan amount that depends on the kind of loan, on the down payment for a purchase, and on whether the borrower has used a VA loan before. This calculator applies the rate chart the VA
| Parameter | Type | Required | Notes |
|---|---|---|---|
| loan_amount | string | yes | The loan amount, without the fee. The fee is a percentage of the loan, not of the purchase price. Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| loan_type | string | no | The kind of loan. Options: purchase: VA-backed purchase or construction loan; cash_out_refinance: VA-backed cash-out refinance; irrrl: interest rate reduction refinance loan (IRRRL); nadl_purchase: Na |
| down_payment_percent | string | no | Down payment as a percentage of the purchase price (purchase and construction loans only). Allowed: >= 0 and <= 100. Unit: percent. |
| first_use | boolean | no | true for the first use of the VA home loan benefit, false after that. |
| exempt | boolean | no | true when no fee is due, for example for a veteran who receives VA compensation for a service-connected disability. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
The yield of a callable bond if the issuer redeems it on the call date at the call price, found as a proven root of the price equation. A callable bond can be repaid early at a set price. Yield to call is the yield the buyer earns if that happens: the rate at which the coupons up to the call date and the call price are worth today's price. It is the same equation as yield to maturity (Excel's YIE
| Parameter | Type | Required | Notes |
|---|---|---|---|
| settlement | string | yes | Settlement date (when the buyer gets the bond). |
| call_date | string | yes | The date the bond can be called. |
| coupon_rate_percent | string | yes | Annual coupon rate in percent of face value. Allowed: >= 0 and <= 1000. Unit: percent. |
| price | string | yes | Clean price paid per 100 of face value. Allowed: > 0 and <= 1000000. |
| call_price | string | yes | Amount paid per 100 of face value if the bond is called. Allowed: > 0 and <= 1000000. |
| frequency | integer | no | Coupons per year: 1, 2 or 4. Allowed: >= 1 and <= 4. |
| day_count | string | no | How days are counted for accrued interest. Options: 30/360: US (NASD) 30/360; actual/actual: actual days over the actual length of the coupon period; actual/360: actual days over a 360-day year; actua |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=6). |
Body mass index for adults from weight and height in metric or imperial units, with the WHO/CDC weight category and the healthy weight range for that height. Computes BMI = weight (kg) ÷ height (m)² from exact unit definitions, so imperial inputs need no 703 approximation. The category is decided on the exact BMI, so a BMI of 24.96 is 'Healthy weight' even though it displays as 25.0; the response
| Parameter | Type | Required | Notes |
|---|---|---|---|
| weight | string | yes | Body weight in weight_unit. Allowed: > 0 and <= 2000. |
| weight_unit | string | no | Unit of weight. Options: kg: kilograms; lb: pounds (0.45359237 kg); st: stone (14 lb) |
| height | string | yes | Height in height_unit. Allowed: > 0 and <= 300. |
| height_unit | string | no | Unit of height. Options: cm: centimetres; m: metres; in: inches (2.54 cm); ft: feet (12 in); add the rest with height_inches |
| height_inches | string | no | Extra inches when height_unit is ft (5 ft 10 in is height 5, height_inches 10). Allowed: >= 0 and < 12. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=1). |
Evaluate an arithmetic expression exactly, with functions like sqrt, ln, sin and factorial. Evaluates expressions such as (1/3 + 1/6) * 2^10 or sqrt(2) * sin(45) with no floating-point error: rational arithmetic is exact, and irrational results (roots, logarithms, trig) are computed with certified interval arithmetic and rounded correctly. The interpretation output shows how the expression was re
| Parameter | Type | Required | Notes |
|---|---|---|---|
| expression | string | yes | The expression. Operators: + - * / ^ (or **) and ! (factorial); constants pi and e; functions: abs, acos, asin, atan, cbrt, ceil, cos, cosh, exp, factorial, floor, ln, log, log10, log2, max, min, mod, |
| angle_unit | string | no | Unit for trig function inputs and inverse-trig outputs. Options: radians: radians; degrees: degrees |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=20). |
Add, subtract, multiply, divide and simplify fractions and mixed numbers, with the exact repeating decimal. Works with exact fractions such as 3/4, mixed numbers such as 1 1/2, and decimals. Results are always in lowest terms and include the mixed number, a rounded decimal and the exact decimal expansion with its repeating block in parentheses (1/6 = 0.1(6)).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| operation | string | yes | What to do. Options: simplify: reduce a to lowest terms; add: a + b; subtract: a − b; multiply: a × b; divide: a ÷ b |
| a | string | yes | First fraction, e.g. '3/4', '-1 1/2' or '0.75'. At most 200 characters. |
| b | string | no | Second fraction (not used by simplify). At most 200 characters. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=20). |
Percent of a number, what percent one number is of another, percent change, percent difference, and increase or decrease by a percent. Six everyday percentage questions in one calculator, each with its formula returned so the meaning of a and b is never in doubt. All arithmetic is exact.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| operation | string | yes | Which percentage question to answer. Options: percent_of: a% of b; what_percent: a is what percent of b; change: percent change from a to b; difference: percent difference between a and b; increase: b |
| a | string | yes | First number (see operation for its meaning). |
| b | string | yes | Second number (see operation for its meaning). |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Round a number to decimal places, significant digits or a multiple, with any of seven rounding rules. Rounds exactly (no binary floating point), so 2.675 to two places with half-up gives 2.68, not the 2.67 many programs print. Choose the rule explicitly: half-up, banker's rounding (half-even), half-down, up, down (truncate), ceiling or floor.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| value | string | yes | The number to round. |
| method | string | no | What to round to. Options: decimals: to a number of decimal places (negative rounds to tens, hundreds, ...); significant: to a number of significant digits; multiple: to the nearest multiple of a step |
| places | integer | no | Decimal places (method decimals) or significant digits (method significant). Allowed: >= -20 and <= 60. |
| multiple | string | no | Step to round to (method multiple), e.g. 0.05. Allowed: > 0. |
| mode | string | no | Rounding rule. Options: half_up: to nearest, ties away from zero (2.5 → 3, -2.5 → -3); half_even: to nearest, ties to even (2.5 → 2, 3.5 → 4): banker's rounding; half_down: to nearest, ties towards ze |
Roots, powers, logarithms, exponentials, trig and hyperbolic functions, and factorials, correctly rounded to up to 50 significant digits. Each function is evaluated with certified interval arithmetic and rounded correctly, so every returned digit is right. Exact cases stay exact: sqrt(2.25) is 1.5, log10(1000) is 3, sin(30°) is 0.5 and the cube root of -8 is -2.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| function | string | yes | Function to apply. Options: sqrt: √x; cbrt: ∛x (real cube root); nth_root: the real y-th root of x (y a whole number from 2 to 1000); power: x^y; reciprocal: 1/x; exp: e^x; ln: natural logarithm of x; |
| x | string | yes | The argument. |
| y | string | no | Second argument for power, nth_root and log_base. |
| angle_unit | string | no | Unit for trig inputs and inverse-trig outputs. Options: radians: radians; degrees: degrees |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=20). |
Mean, median, mode, range, variance and standard deviation (population and sample) of a list of numbers. Computes descriptive statistics exactly. Sums, means and variances are exact fractions; standard deviations are square roots computed with certified arithmetic, so even long lists of decimals give correctly rounded results with no accumulated floating-point error.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| values | array | yes | The data, as a list of numbers. 1 to 10000 items. |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Split an amount by ratios or into equal parts so the shares are whole cents and add up exactly to the amount. Splits an amount of money between several parts, by ratios (70/30, 1:2:3, percentages) or into equal parts, so that every share is a whole number of the currency's minor unit and the shares add up to the amount exactly: no cent is lost or invented. Rounding each share on its own does not
| Parameter | Type | Required | Notes |
|---|---|---|---|
| amount | string | yes | The amount to split. A negative amount (a refund) is split the same way and every share is negative. Allowed: >= -1000000000000000 and <= 1000000000000000. Unit: currency. |
| currency | string | yes | ISO 4217 code of the currency, such as USD, EUR, JPY or KWD. It sets the number of decimals (the minor unit): 2 for most currencies, 0 for JPY, 3 for KWD. At most 3 characters. |
| ratios | array | no | The parts' ratios, in order. Only their proportions matter: [70, 30], [7, 3] and [0.7, 0.3] split the same way. A ratio of 0 gets nothing. Give ratios or parts. 1 to 1000 items. Each item: >= 0 and <= |
| parts | integer | no | Number of equal parts (instead of ratios). Allowed: >= 1 and <= 1000. |
| method | string | no | Who gets the minor units left over after every share is rounded down. Options: largest_remainder: the leftover minor units go to the parts whose exact shares were cut the most, earlier parts first on |
| rounding | string | no | How to round the amount to the currency's minor unit first, if it has more decimals (a warning says so). Options: half_up: to nearest, ties away from zero (2.5 → 3, -2.5 → -3); half_even: to nearest, |
Round an amount to its currency's minor unit (ISO 4217: 2 decimals for EUR, 0 for JPY, 3 for KWD) and to a country's cash rounding rule, such as 0.05 in Canada. Rounds an amount of money the way the currency and the country require. First it rounds to the currency's minor unit from ISO 4217, the international list of currency codes: cents for USD and EUR, whole yen for JPY, three decimals for the
| Parameter | Type | Required | Notes |
|---|---|---|---|
| amount | string | yes | The amount to round. Allowed: >= -1000000000000000 and <= 1000000000000000. Unit: currency. |
| currency | string | yes | ISO 4217 code of the currency, such as USD, EUR, JPY or KWD. It sets the number of decimals (the minor unit): 2 for most currencies, 0 for JPY, 3 for KWD. At most 3 characters. |
| rounding | string | no | How to round to the currency's minor unit. half_up is the usual commercial rule (and the rule for euro conversions). Options: half_up: to nearest, ties away from zero (2.5 → 3, -2.5 → -3); half_even: |
| cash_country | string | no | Optional ISO 3166 two-letter country code, to also round the total for a cash payment by that country's rule. The currency must be the country's. Countries: AU (AUD), BE (EUR), BS (BSD), CA (CAD), CH |
| cash_step | string | no | Optional cash step of your own, such as 0.05 or 0.10, instead of cash_country. It must be a whole number of minor units. Allowed: > 0 and <= 1000000. |
| cash_tie | string | no | Which way a cash total exactly halfway between two steps goes. The default is the country's rule; when the rule does not say (or with cash_step), up is used and a CASH_TIE_ASSUMED warning says so. Opt |
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. 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 int
| Parameter | Type | Required | Notes |
|---|---|---|---|
| amount | string | yes | The unpaid amount (the invoice or debt). Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| due_date | string | yes | The last day the payment was due (interest starts the day after). |
| payment_date | string | yes | The day the payment was or will be made (counted as a day of interest). |
| margin_percent | string | no | Points added to the ECB rate: 8 in the directive; some countries add more (Germany 9). Allowed: >= 8 and <= 50. Unit: percent. |
| day_count | string | no | 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 yea |
| reference_rate_percent | string | no | 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 | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
Verzugszinsen under § 288 BGB, half-year by half-year: the Basiszinssatz plus 9 points and the €40 fee between businesses, or plus 5 points with consumers. Simple interest at the Bundesbank Basiszinssatz (§ 247 BGB) plus 9 percentage points when no consumer is involved, or 5 points when the debtor is a consumer (8 points for business contracts made before 29 July 2014). The Basiszinssatz changes
| Parameter | Type | Required | Notes |
|---|---|---|---|
| amount | string | yes | The unpaid amount (the invoice or debt). Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| due_date | string | yes | The last day before default (Verzug begins the next day). |
| payment_date | string | yes | The day the payment was or will be made (counted as a day of interest). |
| debtor | string | no | Who owes the money. Options: business: no consumer involved: Basiszinssatz + 9 points; consumer: the debtor is a consumer: Basiszinssatz + 5 points |
| contract_before_29_july_2014 | boolean | no | The business contract was made before 29 July 2014 (8 points, no €40 fee). |
| day_count | string | no | 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 yea |
| reference_rate_percent | string | no | Use this Basiszinssatz (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 | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
Interest owed to a micro or small enterprise for late payment under sections 15 and 16 of India's MSMED Act 2006: three times the RBI Bank Rate, compounded monthly. A buyer must pay a micro or small supplier by the agreed date, which may be at most 45 days after accepting the goods or services, or within 15 days when nothing was agreed. After that, the buyer owes compound interest with monthly re
| Parameter | Type | Required | Notes |
|---|---|---|---|
| amount | string | yes | The unpaid amount (the invoice or debt). Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| acceptance_date | string | yes | The day the buyer accepted (or is deemed to have accepted) the goods or services. |
| agreed_payment_date | string | no | The payment date agreed in writing, if any. |
| payment_date | string | yes | The day the payment was or will be made (counted as a day of interest). |
| reference_rate_percent | string | no | Use this RBI Bank 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 | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
Statutory interest and fixed compensation on a late business invoice under the UK Late Payment of Commercial Debts (Interest) Act 1998. Simple interest at 8 percentage points over the Bank of England Bank Rate. The rate is fixed for the whole debt: it uses Bank Rate on 31 December for interest that starts between 1 January and 30 June, and on 30 June for interest that starts between 1 July and 31
| Parameter | Type | Required | Notes |
|---|---|---|---|
| amount | string | yes | The unpaid amount (the invoice or debt). Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| due_date | string | yes | The last day the payment was due (interest starts the day after). |
| payment_date | string | yes | The day the payment was or will be made (counted as a day of interest). |
| method | string | no | exact: amount × rate × days / 365. daily_pence: first round the daily interest to the penny, as the worked example on GOV.UK does. Options: exact: the exact interest, rounded once; daily_pence: daily |
| reference_rate_percent | string | no | Use this Bank 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 | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
The interest penalty a US federal agency owes on a late invoice under the Prompt Payment Act: the Treasury rate, compounded every 30 days on a 360-day year. Uses the Prompt Payment rate in effect on the day after the due date for the whole delay. Unpaid interest is added to the principal at the end of each 30-day period, the leftover days earn simple interest on a 360-day year, and interest stops
| Parameter | Type | Required | Notes |
|---|---|---|---|
| amount | string | yes | The unpaid amount (the invoice or debt). Allowed: > 0 and <= 1000000000000000. Unit: currency. |
| due_date | string | yes | The last day the payment was due (interest starts the day after). |
| payment_date | string | yes | The day the payment was or will be made (counted as a day of interest). |
| reference_rate_percent | string | no | Use this Prompt Payment 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 | object | no | Precision and rounding of the results (default: rounding=half_even, decimals=2). |
VAT or GST on one amount or a whole invoice, added or taken out of tax-inclusive prices, with the per-rate rounding EN 16931 e-invoices require. Works out net, tax and gross for one amount or for every line of an invoice. Give amounts without tax to add it, or set amounts_include_tax to take the tax out of prices that already include it. Lines can have different rates. By default the tax is worke
| Parameter | Type | Required | Notes |
|---|---|---|---|
| amounts | array | yes | The amount of each line: one item for a single price. Without tax, or with tax when amounts_include_tax is true. Negative amounts are credits. 1 to 1000 items. Each item: >= -1000000000000000 and <= 1 |
| rate_percent | string | no | One tax rate for every line, in percent (20 for 20%). Allowed: >= 0 and <= 100. Unit: %. |
| rates_percent | array | no | The tax rate of each line in percent, one per amount and in the same order. Up to 1000 items. Each item: >= 0 and <= 100. Unit: %. |
| country | string | no | Use this country's standard rate for every line (see tax/vat-rates for the table). Reduced rates depend on what is sold, so give those as rate_percent. Options: AT: Austria: VAT 20%; BE: Belgium: VAT |
| amounts_include_tax | boolean | no | true when the amounts already include the tax, to take it out. |
| rounding | string | no | Where the tax is rounded. Options: per_rate: once for each rate, on the sum of that rate's lines (EN 16931, the usual rule for invoices); per_line: on each line, then added up (till receipts, and invo |
| options | object | no | Precision and rounding of the results (default: rounding=half_up, decimals=2). |
The standard and reduced VAT or GST rates of a country, with the official page they were read from and the day they were last checked. The VAT or GST rates of 40 countries and provinces: the 27 EU member states from the European Commission's table, and the United Kingdom, Switzerland, Norway, Australia, New Zealand, Singapore, India and Canada (the federal GST and each province's HST) from the ta
| Parameter | Type | Required | Notes |
|---|---|---|---|
| country | string | yes | The country: its two-letter code (EL or GR for Greece, GB or UK for the United Kingdom), or CA- and the province for a Canadian province with HST. Options: AT: Austria: VAT 20%; BE: Belgium: VAT 21%; |
Convert between bits, bytes and their decimal (kB, MB) and binary (KiB, MiB) multiples. Convert between bits, bytes and their decimal (kB, MB) and binary (KiB, MiB) multiples. Conversion factors are exact values from the official unit definitions, so the result is exact before the single final rounding. Leave out to_unit to get the value in every supported unit.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| value | string | yes | The amount to convert. Allowed: >= 0. |
| from_unit | string | yes | Unit of the value. Options: bit: bit; B: byte; kB: kilobyte; MB: megabyte; GB: gigabyte; TB: terabyte; PB: petabyte; EB: exabyte; ZB: zettabyte; KiB: kibibyte; MiB: mebibyte; GiB: gibibyte; TiB: tebib |
| to_unit | string | no | Unit to convert to. Omit to convert to every unit. Options: bit: bit; B: byte; kB: kilobyte; MB: megabyte; GB: gigabyte; TB: terabyte; PB: petabyte; EB: exabyte; ZB: zettabyte; KiB: kibibyte; MiB: meb |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Convert between metric, imperial/US, nautical and astronomical lengths. Convert between metric, imperial/US, nautical and astronomical lengths. Conversion factors are exact values from the official unit definitions, so the result is exact before the single final rounding. Leave out to_unit to get the value in every supported unit.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| value | string | yes | The amount to convert. |
| from_unit | string | yes | Unit of the value. Options: m: metre; km: kilometre; cm: centimetre; mm: millimetre; um: micrometre; nm: nanometre; in: inch; ft: foot; yd: yard; mi: mile; nmi: nautical mile; mil: mil (thou); fathom: |
| to_unit | string | no | Unit to convert to. Omit to convert to every unit. Options: m: metre; km: kilometre; cm: centimetre; mm: millimetre; um: micrometre; nm: nanometre; in: inch; ft: foot; yd: yard; mi: mile; nmi: nautica |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Convert between metric, avoirdupois (pounds and ounces), troy and carat units. Convert between metric, avoirdupois (pounds and ounces), troy and carat units. Conversion factors are exact values from the official unit definitions, so the result is exact before the single final rounding. Leave out to_unit to get the value in every supported unit.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| value | string | yes | The amount to convert. Allowed: >= 0. |
| from_unit | string | yes | Unit of the value. Options: kg: kilogram; g: gram; mg: milligram; ug: microgram; t: tonne (metric ton); lb: pound (avoirdupois); oz: ounce (avoirdupois); st: stone; short_ton: short ton (US); long_ton |
| to_unit | string | no | Unit to convert to. Omit to convert to every unit. Options: kg: kilogram; g: gram; mg: milligram; ug: microgram; t: tonne (metric ton); lb: pound (avoirdupois); oz: ounce (avoirdupois); st: stone; sho |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Convert temperatures between Celsius, Fahrenheit, kelvin and Rankine. Converts a temperature reading, or a temperature difference, between scales. A reading uses the scale offsets (0 °C = 32 °F); a difference does not (a rise of 10 °C is a rise of 18 °F). All factors are exact.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| value | string | yes | The temperature (or temperature difference) to convert. |
| from_unit | string | yes | Scale of the value. Options: C: degree Celsius; K: kelvin; F: degree Fahrenheit; R: degree Rankine |
| to_unit | string | no | Scale to convert to. Omit to convert to every scale. Options: C: degree Celsius; K: kelvin; F: degree Fahrenheit; R: degree Rankine |
| quantity | string | no | Whether the value is a reading or a difference between two readings. Options: reading: a temperature reading, like 20 °C; difference: a change or interval, like a rise of 5 °C |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Convert between metric, US customary, imperial and cubic units of volume. Convert between metric, US customary, imperial and cubic units of volume. Conversion factors are exact values from the official unit definitions, so the result is exact before the single final rounding. Leave out to_unit to get the value in every supported unit.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| value | string | yes | The amount to convert. Allowed: >= 0. |
| from_unit | string | yes | Unit of the value. Options: m3: cubic metre; l: litre; ml: millilitre; cm3: cubic centimetre; in3: cubic inch; ft3: cubic foot; yd3: cubic yard; gal_us: US gallon; qt_us: US liquid quart; pt_us: US li |
| to_unit | string | no | Unit to convert to. Omit to convert to every unit. Options: m3: cubic metre; l: litre; ml: millilitre; cm3: cubic centimetre; in3: cubic inch; ft3: cubic foot; yd3: cubic yard; gal_us: US gallon; qt_u |
| options | object | no | Precision and rounding of the results (default: rounding=half_even, significant_digits=15). |
Check a UBL or CII invoice against the European e-invoicing standard EN 16931 with CEN's official rules. Runs the UBL 2.1 or UN/CEFACT CII D16B schema and then CEN/TC 434's own validation artefacts: the business rules (BR-…), calculation rules (BR-CO-…), VAT rules and code lists of EN 16931-1. The syntax is detected from the document. Country rules (CIUS) such as XRechnung or Peppol BIS are separ
| Parameter | Type | Required | Notes |
|---|---|---|---|
| xml | string | yes | The invoice XML, as text. |
Check a UBL invoice or credit note against Peppol BIS Billing 3.0 with OpenPeppol's official rules. Runs the UBL 2.1 schema, the EN 16931 rules in the copy Peppol ships, and the Peppol BIS Billing 3.0 rules (PEPPOL-EN16931-R…, country rules for Norway, Denmark, Italy, Sweden, Greece, Iceland, the Netherlands and Germany). Peppol BIS 3.0 documents are UBL only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| xml | string | yes | The invoice XML, as text. |
Check an XRechnung 3.0 invoice the way German public buyers do, with KoSIT's official validator configuration. Uses KoSIT's validator configuration for XRechnung unchanged: its scenarios choose the rules from the document's type and specification ID, then the UBL or CII schema, the EN 16931 rules and the XRechnung rules (BR-DE-…) run, with KoSIT's custom levels. The decision is KoSIT's: valid mea
| Parameter | Type | Required | Notes |
|---|---|---|---|
| xml | string | yes | The invoice XML, as text. |
Check a Factur-X or ZUGFeRD 2 invoice, as a PDF or its XML, against the rules for its profile. Takes the PDF (base64) or the CII XML. From a PDF the embedded factur-x.xml, zugferd-invoice.xml or xrechnung.xml is read, with the profile the PDF's XMP metadata names. The profile comes from the guideline ID (BT-24): MINIMUM, BASIC WL, BASIC, EN 16931 and EXTENDED use the Factur-X 1.09.2 / ZUGFeRD 2.5
| Parameter | Type | Required | Notes |
|---|---|---|---|
| string | no | The Factur-X or ZUGFeRD PDF, base64-encoded (at most 6 MiB). | |
| xml | string | no | Or the CII invoice XML, as text. |
- Every tool — any call limit is its publisher’s, not ours
- No card, and mcprush charges nothing for it
- Runs at its publisher’s own address — this marketplace is not in the path
- Nothing to cap, because mcprush bills nothing
What counts against your monthly calls
| Tool | Unit | Calls used | Out of the allowance |
|---|
Nothing here is billable: mcprush charges nothing to install curatedapi or to call it, at any volume.
Two independent axes, because powerful and malicious are different questions. The grade is threat only. The capability level is blast radius, and it is never a penalty on the grade — it is priced as one subtract-only term in the score, where you can see it.
| Term | Level | What it prices | Points |
|---|---|---|---|
| capability-exposure | minimal | capability blast radius (minimal) — client exposure if the model is manipulated | −0 |
| coverage-honesty | manifest | inspection depth (manifest) — how much of the target the scan could see | −4 |
What the scan could actually read
A grade is only as meaningful as its coverage, so the scanner publishes its own depth before it publishes its result.
The scan read each tool’s name, description, input schema and annotations exactly as the server listed them the last time it answered us; no code was reviewed. We ask the server again about once a month, and a list that changed is graded again.
The implementation source was not read — this reflects the declared tool metadata only.
Capability — what it could do if the model were manipulated
Tags derived from each tool’s schema and the implementation, not from what the tool calls itself. minimal is the level these add up to.
| Tool | Capability tags | Why the tag was assigned |
|---|---|---|
| calc_accounting_depreciation_india_companies_act | no tags | |
| calc_accounting_depreciation_india_income_tax | no tags | |
| calc_accounting_depreciation_macrs | no tags | |
| calc_accounting_lease_asc842 | no tags | |
| calc_accounting_lease_ifrs16 | no tags | |
| calc_billing_discounts | no tags | |
| calc_billing_proration | no tags | |
| calc_billing_tiered_price | no tags | |
| calc_check_abn | no tags | |
| calc_check_bic | no tags | |
| calc_check_cusip | no tags | |
| calc_check_iban | no tags | |
| calc_check_india_gstin | no tags | |
| calc_check_india_pan | no tags | |
| calc_check_isin | no tags | |
| calc_check_lei | no tags | |
| calc_check_us_routing_number | no tags | |
| calc_check_vat_number | no tags | |
| calc_date_add | no tags | |
| calc_date_age | no tags | |
| calc_date_difference | no tags | |
| calc_date_holidays | no tags | |
| calc_date_timezone_convert | no tags | |
| calc_date_working_days | no tags | |
| calc_date_working_hours | no tags | |
| calc_everyday_discount | no tags | |
| calc_everyday_tip | no tags | |
| calc_excel_cumipmt | no tags | |
| calc_excel_cumprinc | no tags | |
| calc_excel_days360 | no tags | |
| calc_excel_db | no tags | |
| calc_excel_ddb | no tags | |
| calc_excel_duration | no tags | |
| calc_excel_edate | no tags | |
| calc_excel_effect | no tags | |
| calc_excel_eomonth | no tags | |
| calc_excel_fv | no tags | |
| calc_excel_ipmt | no tags | |
| calc_excel_mduration | no tags | |
| calc_excel_mirr | no tags | |
| calc_excel_networkdays | no tags | |
| calc_excel_nominal | no tags | |
| calc_excel_nper | no tags | |
| calc_excel_pmt | no tags | |
| calc_excel_ppmt | no tags | |
| calc_excel_price | no tags | |
| calc_excel_pv | no tags | |
| calc_excel_rate | no tags | |
| calc_excel_sln | no tags | |
| calc_excel_syd | no tags | |
| calc_excel_vdb | no tags | |
| calc_excel_workday | no tags | |
| calc_excel_xirr | no tags | |
| calc_excel_xnpv | no tags | |
| calc_excel_yearfrac | no tags | |
| calc_excel_yield | no tags | |
| calc_finance_apr_eu_aprc | no tags | |
| calc_finance_apr_us_reg_z | no tags | |
| calc_finance_black_76 | no tags | |
| calc_finance_black_scholes | no tags | |
| calc_finance_bond_duration_convexity | no tags | |
| calc_finance_compound_interest | no tags | |
| calc_finance_extra_payments | no tags | |
| calc_finance_fha_mip | no tags | |
| calc_finance_implied_volatility | no tags | |
| calc_finance_irr | no tags | |
| calc_finance_loan_emi | no tags | |
| calc_finance_mortgage | no tags | |
| calc_finance_mortgage_affordability | no tags | |
| calc_finance_npv | no tags | |
| calc_finance_refinance_break_even | no tags | |
| calc_finance_rent_vs_buy | no tags | |
| calc_finance_roi | no tags | |
| calc_finance_savings_goal | no tags | |
| calc_finance_simple_interest | no tags | |
| calc_finance_usda_guarantee_fee | no tags | |
| calc_finance_va_funding_fee | no tags | |
| calc_finance_yield_to_call | no tags | |
| calc_health_bmi | no tags | |
| calc_math_expression | no tags | |
| calc_math_fraction | no tags | |
| calc_math_percentage | no tags | |
| calc_math_rounding | no tags | |
| calc_math_scientific | no tags | |
| calc_math_statistics | no tags | |
| calc_money_allocate | no tags | |
| calc_money_round | no tags | |
| calc_payments_late_interest_eu | no tags | |
| calc_payments_late_interest_germany | no tags | |
| calc_payments_late_interest_india_msme | no tags | |
| calc_payments_late_interest_uk | no tags | |
| calc_payments_late_interest_us_prompt_payment | no tags | |
| calc_tax_vat | no tags | |
| calc_tax_vat_rates | no tags | |
| calc_units_data_size | no tags | |
| calc_units_length | no tags | |
| calc_units_mass | no tags | |
| calc_units_temperature | no tags | |
| calc_units_volume | no tags | |
| validate_einvoice_en16931 | no tags | |
| validate_einvoice_peppol_bis | no tags | |
| validate_einvoice_xrechnung | no tags | |
| validate_einvoice_factur_x | no tags |
Toxic-flow graph
The lethal trifecta, checked as a graph rather than as a checklist: untrusted input, a sensitive source and an external sink have to meet before there is a path worth worrying about.
The public result for this release does not print the flow graph, so there is nothing to show here. That is not the same as "no paths were found": what the scan did read is above, under coverage.
Supply chain and provenance
This is the first scan of this surface here, so there is nothing yet to compare it against.
Every result on this tab comes from one deterministic pass over the published package — offline, rule by rule, and auditable line by line above. Same methodology version, same bytes, same score.
Release history
This is an address its publisher runs: which release it serves is theirs to choose, so there is nothing here to pin. The history below is for reading; the current release on file is 0.4.2.
No release note was published with this version.
One review per account, from a signed-in account that does not publish this listing. Nothing else is asked — you can say what you think before you install it. Publishers can reply once per review, and a review can be edited or deleted by whoever wrote it.
Any signed-in account that does not publish curatedapi can review it, once — before installing it or after. A review from an account that has installed it is marked as one.
Nobody has reviewed this listing. The rating on the card is the mean of the reviews written here and nothing else, so there is no rating until somebody writes the first — which takes a signed-in account that does not publish it, and nothing else.