# curatedapi > Exact calculator APIs (finance, billing, money, late-payment interest, Excel-compatible functions, lease accounting and depreciation, dates, units, math). Numbers in and out as strings; every result states its calculator version, formula, references and whether each value is exact or rounded. E-invoice validators (EN 16931, Peppol BIS, XRechnung, Factur-X/ZUGFeRD) run each standard's official rules. - API base URL: https://api.curatedapi.com (POST JSON, Authorization: Bearer ) - MCP server: https://mcp.curatedapi.com (streamable HTTP; every endpoint is a tool) - OpenAPI: https://docs.curatedapi.com/openapi.json - Signed receipts: add ?receipt=true to a call; verify at POST https://api.curatedapi.com/v1/receipts/verify or with the keys at https://api.curatedapi.com/.well-known/jwks.json - Reference: https://docs.curatedapi.com/ ## Endpoints - POST /v1/calc/accounting/depreciation/india-companies-act (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. Reference: https://docs.curatedapi.com/calculators/accounting/depreciation/india-companies-act - POST /v1/calc/accounting/depreciation/india-income-tax (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. Reference: https://docs.curatedapi.com/calculators/accounting/depreciation/india-income-tax - POST /v1/calc/accounting/depreciation/macrs (calc_accounting_depreciation_macrs): US tax depreciation under MACRS (GDS) with the IRS percentage tables, Section 179 and bonus depreciation. Reference: https://docs.curatedapi.com/calculators/accounting/depreciation/macrs - POST /v1/calc/accounting/lease/asc842 (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. Reference: https://docs.curatedapi.com/calculators/accounting/lease/asc842 - POST /v1/calc/accounting/lease/ifrs16 (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. Reference: https://docs.curatedapi.com/calculators/accounting/lease/ifrs16 - POST /v1/calc/billing/discounts (calc_billing_discounts): Final price after several percentage and fixed-amount discounts, applied in order like Stripe's stacked coupons, with an optional cap. Reference: https://docs.curatedapi.com/calculators/billing/discounts - POST /v1/calc/billing/proration (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. Reference: https://docs.curatedapi.com/calculators/billing/proration - POST /v1/calc/billing/tiered-price (calc_billing_tiered_price): Price of a quantity under graduated or volume tiers, with optional flat fees, exactly as Stripe bills tiered prices. Reference: https://docs.curatedapi.com/calculators/billing/tiered-price - POST /v1/calc/check/abn (calc_check_abn): Check an 11-digit Australian Business Number with the Australian Business Register's modulus 89 rule. Reference: https://docs.curatedapi.com/calculators/check/abn - POST /v1/calc/check/bic (calc_check_bic): Check the structure of a BIC (SWIFT code) under ISO 9362 and split it into party, country and branch. Reference: https://docs.curatedapi.com/calculators/check/bic - POST /v1/calc/check/cusip (calc_check_cusip): Check the length and check digit of a CUSIP and split it into issuer, issue and check digit. Reference: https://docs.curatedapi.com/calculators/check/cusip - POST /v1/calc/check/iban (calc_check_iban): Check an IBAN's country, length, structure and check digits against the SWIFT IBAN registry, and say exactly what is wrong. Reference: https://docs.curatedapi.com/calculators/check/iban - POST /v1/calc/check/india-gstin (calc_check_india_gstin): Check the state code, structure and check character of an Indian GSTIN and read the PAN inside it. Reference: https://docs.curatedapi.com/calculators/check/india-gstin - POST /v1/calc/check/india-pan (calc_check_india_pan): Check the structure of an Indian Permanent Account Number and read the kind of holder from its fourth character. Reference: https://docs.curatedapi.com/calculators/check/india-pan - POST /v1/calc/check/isin (calc_check_isin): Check the structure and check digit of an ISIN (ISO 6166) and split it into prefix, national number and check digit. Reference: https://docs.curatedapi.com/calculators/check/isin - POST /v1/calc/check/lei (calc_check_lei): Check the length and check digits of a Legal Entity Identifier (ISO 17442). Reference: https://docs.curatedapi.com/calculators/check/lei - POST /v1/calc/check/us-routing-number (calc_check_us_routing_number): Check the check digit and the first two digits of a US ABA routing number. Reference: https://docs.curatedapi.com/calculators/check/us-routing-number - POST /v1/calc/check/vat-number (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. Reference: https://docs.curatedapi.com/calculators/check/vat-number - POST /v1/calc/date/add (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. Reference: https://docs.curatedapi.com/calculators/date/add - POST /v1/calc/date/age (calc_date_age): Exact age in years, months and days, plus the next birthday, with an explicit rule for 29 February birthdays. Reference: https://docs.curatedapi.com/calculators/date/age - POST /v1/calc/date/difference (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. Reference: https://docs.curatedapi.com/calculators/date/difference - POST /v1/calc/date/holidays (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. Reference: https://docs.curatedapi.com/calculators/date/holidays - POST /v1/calc/date/timezone-convert (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. Reference: https://docs.curatedapi.com/calculators/date/timezone-convert - POST /v1/calc/date/working-days (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. Reference: https://docs.curatedapi.com/calculators/date/working-days - POST /v1/calc/date/working-hours (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. Reference: https://docs.curatedapi.com/calculators/date/working-hours - POST /v1/calc/everyday/discount (calc_everyday_discount): Sale price after a percentage or fixed discount, an optional stacked second discount and sales tax. Reference: https://docs.curatedapi.com/calculators/everyday/discount - POST /v1/calc/everyday/tip (calc_everyday_tip): Tip amount, total and a fair split between people where the shares add up exactly to the bill. Reference: https://docs.curatedapi.com/calculators/everyday/tip - POST /v1/calc/excel/cumipmt (calc_excel_cumipmt): Total interest paid on a loan from one period to another, as Excel's CUMIPMT. Reference: https://docs.curatedapi.com/calculators/excel/cumipmt - POST /v1/calc/excel/cumprinc (calc_excel_cumprinc): Total principal repaid from one period to another, as Excel's CUMPRINC. Reference: https://docs.curatedapi.com/calculators/excel/cumprinc - POST /v1/calc/excel/days360 (calc_excel_days360): Days between two dates on a 360-day year, by the US (NASD) or European method, as Excel's DAYS360. Reference: https://docs.curatedapi.com/calculators/excel/days360 - POST /v1/calc/excel/db (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. Reference: https://docs.curatedapi.com/calculators/excel/db - POST /v1/calc/excel/ddb (calc_excel_ddb): Double-declining (or any factor) balance depreciation for one period, as Excel's DDB. Reference: https://docs.curatedapi.com/calculators/excel/ddb - POST /v1/calc/excel/duration (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. Reference: https://docs.curatedapi.com/calculators/excel/duration - POST /v1/calc/excel/edate (calc_excel_edate): The same day of the month a number of months before or after a date, as Excel's EDATE. Reference: https://docs.curatedapi.com/calculators/excel/edate - POST /v1/calc/excel/effect (calc_excel_effect): The effective annual rate from a nominal rate and compounding periods, as Excel's EFFECT. Reference: https://docs.curatedapi.com/calculators/excel/effect - POST /v1/calc/excel/eomonth (calc_excel_eomonth): The last day of the month a number of months before or after a date, as Excel's EOMONTH. Reference: https://docs.curatedapi.com/calculators/excel/eomonth - POST /v1/calc/excel/fv (calc_excel_fv): The future value of an investment with equal payments, the same as Excel's FV. Reference: https://docs.curatedapi.com/calculators/excel/fv - POST /v1/calc/excel/ipmt (calc_excel_ipmt): The interest paid in one period of a loan, the same as Excel's IPMT. Reference: https://docs.curatedapi.com/calculators/excel/ipmt - POST /v1/calc/excel/mduration (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. Reference: https://docs.curatedapi.com/calculators/excel/mduration - POST /v1/calc/excel/mirr (calc_excel_mirr): The modified IRR of periodic cash flows with separate finance and reinvestment rates, as Excel's MIRR. Reference: https://docs.curatedapi.com/calculators/excel/mirr - POST /v1/calc/excel/networkdays (calc_excel_networkdays): Working days between two dates, both included, with holidays and any weekend, as Excel's NETWORKDAYS and NETWORKDAYS.INTL. Reference: https://docs.curatedapi.com/calculators/excel/networkdays - POST /v1/calc/excel/nominal (calc_excel_nominal): The nominal annual rate from an effective rate, as Excel's NOMINAL. Reference: https://docs.curatedapi.com/calculators/excel/nominal - POST /v1/calc/excel/nper (calc_excel_nper): How many periods it takes to pay off a loan or reach a goal, as Excel's NPER. Reference: https://docs.curatedapi.com/calculators/excel/nper - POST /v1/calc/excel/pmt (calc_excel_pmt): The payment per period for a loan or an investment, the same as Excel's PMT. Reference: https://docs.curatedapi.com/calculators/excel/pmt - POST /v1/calc/excel/ppmt (calc_excel_ppmt): The principal repaid in one period of a loan, the same as Excel's PPMT. Reference: https://docs.curatedapi.com/calculators/excel/ppmt - POST /v1/calc/excel/price (calc_excel_price): The clean price per 100 of a bond paying periodic coupons, from its yield, as Excel's PRICE. Reference: https://docs.curatedapi.com/calculators/excel/price - POST /v1/calc/excel/pv (calc_excel_pv): The present value of a series of equal payments, the same as Excel's PV. Reference: https://docs.curatedapi.com/calculators/excel/pv - POST /v1/calc/excel/rate (calc_excel_rate): The interest rate per period of a loan or annuity, as Excel's RATE, proven correct to the last digit. Reference: https://docs.curatedapi.com/calculators/excel/rate - POST /v1/calc/excel/sln (calc_excel_sln): Straight-line depreciation for one period, as Excel's SLN. Reference: https://docs.curatedapi.com/calculators/excel/sln - POST /v1/calc/excel/syd (calc_excel_syd): Sum-of-years' digits depreciation for one period, as Excel's SYD. Reference: https://docs.curatedapi.com/calculators/excel/syd - POST /v1/calc/excel/vdb (calc_excel_vdb): Declining-balance depreciation between any two points in an asset's life, switching to straight line, as Excel's VDB. Reference: https://docs.curatedapi.com/calculators/excel/vdb - POST /v1/calc/excel/workday (calc_excel_workday): The date a number of working days before or after a date, with holidays and any weekend, as Excel's WORKDAY and WORKDAY.INTL. Reference: https://docs.curatedapi.com/calculators/excel/workday - POST /v1/calc/excel/xirr (calc_excel_xirr): The annual rate of return of cash flows on any dates, as Excel's XIRR, proven correct to the last digit. Reference: https://docs.curatedapi.com/calculators/excel/xirr - POST /v1/calc/excel/xnpv (calc_excel_xnpv): Net present value of cash flows on any dates, the same as Excel's XNPV. Reference: https://docs.curatedapi.com/calculators/excel/xnpv - POST /v1/calc/excel/yearfrac (calc_excel_yearfrac): The fraction of a year between two dates under Excel's five day-count bases, including Excel's own actual/actual rule. Reference: https://docs.curatedapi.com/calculators/excel/yearfrac - POST /v1/calc/excel/yield (calc_excel_yield): The yield of a bond paying periodic coupons, from its price, as Excel's YIELD, proven correct to the last digit. Reference: https://docs.curatedapi.com/calculators/excel/yield - POST /v1/calc/finance/apr/eu-aprc (calc_finance_apr_eu_aprc): Annual percentage rate of charge (APRC, the UK's APR) for consumer and mortgage credit, by the EU directives' equation and day count. Reference: https://docs.curatedapi.com/calculators/finance/apr/eu-aprc - POST /v1/calc/finance/apr/us-reg-z (calc_finance_apr_us_reg_z): 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. Reference: https://docs.curatedapi.com/calculators/finance/apr/us-reg-z - POST /v1/calc/finance/black-76 (calc_finance_black_76): The Black (1976) price and Greeks of a European option on a future or forward: commodity and bond futures options, caps, floors and swaptions. Reference: https://docs.curatedapi.com/calculators/finance/black-76 - POST /v1/calc/finance/black-scholes (calc_finance_black_scholes): The Black-Scholes-Merton price of a European call or put with delta, gamma, vega, theta and rho, correct to the last digit shown. Reference: https://docs.curatedapi.com/calculators/finance/black-scholes - POST /v1/calc/finance/bond-duration-convexity (calc_finance_bond_duration_convexity): The price of a coupon bond at a yield, with its Macaulay and modified duration, convexity and DV01, for any settlement date. Reference: https://docs.curatedapi.com/calculators/finance/bond-duration-convexity - POST /v1/calc/finance/compound-interest (calc_finance_compound_interest): Future value of a lump sum with annual, monthly, daily or continuous compounding, plus the effective annual rate (APY). Reference: https://docs.curatedapi.com/calculators/finance/compound-interest - POST /v1/calc/finance/extra-payments (calc_finance_extra_payments): 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. Reference: https://docs.curatedapi.com/calculators/finance/extra-payments - POST /v1/calc/finance/fha-mip (calc_finance_fha_mip): 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. Reference: https://docs.curatedapi.com/calculators/finance/fha-mip - POST /v1/calc/finance/implied-volatility (calc_finance_implied_volatility): The volatility at which the Black-Scholes-Merton formula gives an option's market price, pinned between proven bounds. Reference: https://docs.curatedapi.com/calculators/finance/implied-volatility - POST /v1/calc/finance/irr (calc_finance_irr): Internal rate of return of periodic cash flows, with every IRR reported when there is more than one. Reference: https://docs.curatedapi.com/calculators/finance/irr - POST /v1/calc/finance/loan/emi (calc_finance_loan_emi): Monthly instalment (EMI), total interest and an exact amortization schedule for a fixed-rate loan. Reference: https://docs.curatedapi.com/calculators/finance/loan/emi - POST /v1/calc/finance/mortgage (calc_finance_mortgage): Monthly mortgage payment including property tax, insurance, HOA dues and PMI, with an exact amortization schedule. Reference: https://docs.curatedapi.com/calculators/finance/mortgage - POST /v1/calc/finance/mortgage-affordability (calc_finance_mortgage_affordability): The largest loan and home price an income supports, from housing and debt-to-income ratios you set (28% and 36% by default). Reference: https://docs.curatedapi.com/calculators/finance/mortgage-affordability - POST /v1/calc/finance/npv (calc_finance_npv): Net present value of a series of periodic cash flows at a discount rate. Reference: https://docs.curatedapi.com/calculators/finance/npv - POST /v1/calc/finance/refinance-break-even (calc_finance_refinance_break_even): 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. Reference: https://docs.curatedapi.com/calculators/finance/refinance-break-even - POST /v1/calc/finance/rent-vs-buy (calc_finance_rent_vs_buy): 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. Reference: https://docs.curatedapi.com/calculators/finance/rent-vs-buy - POST /v1/calc/finance/roi (calc_finance_roi): Gain, ROI percentage and annualized return (CAGR) of an investment. Reference: https://docs.curatedapi.com/calculators/finance/roi - POST /v1/calc/finance/savings-goal (calc_finance_savings_goal): How much to save each month (or week, or year) to reach a goal, or how long it takes with a given contribution. Reference: https://docs.curatedapi.com/calculators/finance/savings-goal - POST /v1/calc/finance/simple-interest (calc_finance_simple_interest): 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). Reference: https://docs.curatedapi.com/calculators/finance/simple-interest - POST /v1/calc/finance/usda-guarantee-fee (calc_finance_usda_guarantee_fee): 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. Reference: https://docs.curatedapi.com/calculators/finance/usda-guarantee-fee - POST /v1/calc/finance/va-funding-fee (calc_finance_va_funding_fee): 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. Reference: https://docs.curatedapi.com/calculators/finance/va-funding-fee - POST /v1/calc/finance/yield-to-call (calc_finance_yield_to_call): 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. Reference: https://docs.curatedapi.com/calculators/finance/yield-to-call - POST /v1/calc/health/bmi (calc_health_bmi): 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. Reference: https://docs.curatedapi.com/calculators/health/bmi - POST /v1/calc/math/expression (calc_math_expression): Evaluate an arithmetic expression exactly, with functions like sqrt, ln, sin and factorial. Reference: https://docs.curatedapi.com/calculators/math/expression - POST /v1/calc/math/fraction (calc_math_fraction): Add, subtract, multiply, divide and simplify fractions and mixed numbers, with the exact repeating decimal. Reference: https://docs.curatedapi.com/calculators/math/fraction - POST /v1/calc/math/percentage (calc_math_percentage): Percent of a number, what percent one number is of another, percent change, percent difference, and increase or decrease by a percent. Reference: https://docs.curatedapi.com/calculators/math/percentage - POST /v1/calc/math/rounding (calc_math_rounding): Round a number to decimal places, significant digits or a multiple, with any of seven rounding rules. Reference: https://docs.curatedapi.com/calculators/math/rounding - POST /v1/calc/math/scientific (calc_math_scientific): Roots, powers, logarithms, exponentials, trig and hyperbolic functions, and factorials, correctly rounded to up to 50 significant digits. Reference: https://docs.curatedapi.com/calculators/math/scientific - POST /v1/calc/math/statistics (calc_math_statistics): Mean, median, mode, range, variance and standard deviation (population and sample) of a list of numbers. Reference: https://docs.curatedapi.com/calculators/math/statistics - POST /v1/calc/money/allocate (calc_money_allocate): Split an amount by ratios or into equal parts so the shares are whole cents and add up exactly to the amount. Reference: https://docs.curatedapi.com/calculators/money/allocate - POST /v1/calc/money/round (calc_money_round): 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. Reference: https://docs.curatedapi.com/calculators/money/round - POST /v1/calc/payments/late-interest/eu (calc_payments_late_interest_eu): 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. Reference: https://docs.curatedapi.com/calculators/payments/late-interest/eu - POST /v1/calc/payments/late-interest/germany (calc_payments_late_interest_germany): 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. Reference: https://docs.curatedapi.com/calculators/payments/late-interest/germany - POST /v1/calc/payments/late-interest/india-msme (calc_payments_late_interest_india_msme): 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. Reference: https://docs.curatedapi.com/calculators/payments/late-interest/india-msme - POST /v1/calc/payments/late-interest/uk (calc_payments_late_interest_uk): Statutory interest and fixed compensation on a late business invoice under the UK Late Payment of Commercial Debts (Interest) Act 1998. Reference: https://docs.curatedapi.com/calculators/payments/late-interest/uk - POST /v1/calc/payments/late-interest/us-prompt-payment (calc_payments_late_interest_us_prompt_payment): 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. Reference: https://docs.curatedapi.com/calculators/payments/late-interest/us-prompt-payment - POST /v1/calc/tax/vat (calc_tax_vat): 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. Reference: https://docs.curatedapi.com/calculators/tax/vat - POST /v1/calc/tax/vat-rates (calc_tax_vat_rates): 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. Reference: https://docs.curatedapi.com/calculators/tax/vat-rates - POST /v1/calc/units/data-size (calc_units_data_size): Convert between bits, bytes and their decimal (kB, MB) and binary (KiB, MiB) multiples. Reference: https://docs.curatedapi.com/calculators/units/data-size - POST /v1/calc/units/length (calc_units_length): Convert between metric, imperial/US, nautical and astronomical lengths. Reference: https://docs.curatedapi.com/calculators/units/length - POST /v1/calc/units/mass (calc_units_mass): Convert between metric, avoirdupois (pounds and ounces), troy and carat units. Reference: https://docs.curatedapi.com/calculators/units/mass - POST /v1/calc/units/temperature (calc_units_temperature): Convert temperatures between Celsius, Fahrenheit, kelvin and Rankine. Reference: https://docs.curatedapi.com/calculators/units/temperature - POST /v1/calc/units/volume (calc_units_volume): Convert between metric, US customary, imperial and cubic units of volume. Reference: https://docs.curatedapi.com/calculators/units/volume - POST /v1/validate/einvoice/en16931 (validate_einvoice_en16931): Check a UBL or CII invoice against the European e-invoicing standard EN 16931 with CEN's official rules. Reference: https://docs.curatedapi.com/validators/einvoice/en16931 - POST /v1/validate/einvoice/peppol-bis (validate_einvoice_peppol_bis): Check a UBL invoice or credit note against Peppol BIS Billing 3.0 with OpenPeppol's official rules. Reference: https://docs.curatedapi.com/validators/einvoice/peppol-bis - POST /v1/validate/einvoice/xrechnung (validate_einvoice_xrechnung): Check an XRechnung 3.0 invoice the way German public buyers do, with KoSIT's official validator configuration. Reference: https://docs.curatedapi.com/validators/einvoice/xrechnung - POST /v1/validate/einvoice/factur-x (validate_einvoice_factur_x): Check a Factur-X or ZUGFeRD 2 invoice, as a PDF or its XML, against the rules for its profile. Reference: https://docs.curatedapi.com/validators/einvoice/factur-x