curatedapi
com.curatedapi/mcp
99 exact calculators and official e-invoice validators, available over REST and MCP.
- calc_accounting_depreciation_india_companies_act — 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 cos
- calc_accounting_depreciation_india_income_tax — 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:
- calc_accounting_depreciation_macrs — 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
- calc_accounting_lease_asc842 — 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
- calc_accounting_lease_ifrs16 — 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
- calc_billing_discounts — 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 per
- calc_billing_proration — 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-wa
- calc_billing_tiered_price — 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 gradu
- calc_check_abn — 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
- calc_check_bic — 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 pa
- calc_check_cusip — 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
- calc_check_iban — 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: t
- calc_check_india_gstin — 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 hold
- calc_check_india_pan — 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 lette
- calc_check_isin — 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
- calc_check_lei — 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
- calc_check_us_routing_number — 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 use
- calc_check_vat_number — 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 structur
- calc_date_add — 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
- calc_date_age — 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
- calc_date_difference — 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
- calc_date_holidays — 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 K
- calc_date_timezone_convert — 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
- calc_date_working_days — 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
- calc_date_working_hours — 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 a
- calc_everyday_discount — 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
- calc_everyday_tip — 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, s
- calc_excel_cumipmt — Total interest paid on a loan from one period to another, as Excel's CUMIPMT.
CUMIPMT(rate, nper, pv, start_period, end_period, type).
- calc_excel_cumprinc — Total principal repaid from one period to another, as Excel's CUMPRINC.
CUMPRINC(rate, nper, pv, start_period, end_period, type).
- calc_excel_days360 — 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
- calc_excel_db — 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 − (salv
- calc_excel_ddb — 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
- calc_excel_duration — 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, [
- calc_excel_edate — 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 Fe
- calc_excel_effect — 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.
- calc_excel_eomonth — The last day of the month a number of months before or after a date, as Excel's EOMONTH.
EOMONTH(start_date, months).
- calc_excel_fv — 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.
- calc_excel_ipmt — 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
- calc_excel_mduration — 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, [ba
- calc_excel_mirr — 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, positi
- calc_excel_networkdays — 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 defa
- calc_excel_nominal — The nominal annual rate from an effective rate, as Excel's NOMINAL.
NOMINAL(effect_rate, npery) = npery·((1 + effect_rate)^(1/npery) − 1).
- calc_excel_nper — How many periods it takes to pay off a loan or reach a goal, as Excel's NPER.
NPER(rate, pmt, pv, [fv], [type]).
- calc_excel_pmt — 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
- calc_excel_ppmt — 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.
- calc_excel_price — 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 matur
- calc_excel_pv — 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.
- calc_excel_rate — 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 iter
- calc_excel_sln — Straight-line depreciation for one period, as Excel's SLN.
SLN(cost, salvage, life) = (cost − salvage) / life.
- calc_excel_syd — 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)).