# Finance Functions

<table><thead><tr><th width="136">NAME</th><th>SYNTAX</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><a href="/pages/PvbtorjGrOjHKZlqlldM">IRR</a></td><td>IRR (Values, Guess?) - > number</td><td>Returns the internal rate of return for a series of cash flows. Node references are also accepted as arguments</td></tr><tr><td><a href="/pages/LKmj4prnYpuufwTvk9uw">NPV</a></td><td>NPV (Rate, value1, valueN?) - > number</td><td>Returns the net present value of an investment based on a discount rate and a series of future payments (negative values) and income (positive values)</td></tr><tr><td><a href="/pages/6A6hAzADCFE2SqAQL4kr">PMT</a></td><td>PMT(Rate, Nper, PV, FV?, Type?) - > number</td><td>Calculates the payment for a loan based on constant payments and a constant interest rate</td></tr><tr><td><a href="/pages/BU7IKXA2ovrYWSJEsmia">IPMT</a></td><td>IPMT (Rate, Per, Nper, PV, FV?,Type?) - > number</td><td>Returns the interest payment for a given period for an investment, based on periodic, constant payments and a constant interest rate</td></tr><tr><td><a href="/pages/pqUdKscpeQ6oAEbPtTEq">FV</a></td><td>FV(Rate, Nper,Pmt?, PV,Type?) - > number</td><td>Returns the future value of an investment based on periodic, constant payments and a constant interest rate</td></tr><tr><td><a href="/pages/iEnuNJaiagfFYd6jeC3V">PV</a></td><td>PV(Rate,Nper,Pmt?,FV,Type?) - > number</td><td>Returns the present value of an investment</td></tr><tr><td><a href="/pages/OCr3PuGWkfz3AYhsm9CL">CUMIPMT</a></td><td>CUMIPMT (Rate, Nper, PV, start_period, end_period, Type) - > number</td><td>Returns the cumulative interest paid between two periods</td></tr><tr><td><a href="/pages/qSukzHye5DhHIWpL9Kds">CUMPRINC</a></td><td>CUMPRINC (Rate, Nper, PV, start_period, end_period, Type) - > number</td><td>Returns the cumulative principal paid on a loan between two periods</td></tr><tr><td><a href="/pages/Sx0VVlecFh5qH7AHxk7C">RATE</a></td><td>RATE(Nper, PMT, PV?,FV?,Type?,Guess?) - > number</td><td>Returns the interest rate per period of a loan or an investment.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.valq.com/model/formula-functions/finance-functions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
