Docs
How the Ampwright quote builder works — line items, incentives, the loan formula and limits.
Line items
- Each line has a description, a quantity (0–10,000) and a unit price in US dollars (0–1,000,000). Use your installed price to the homeowner, not your cost.
- Amount = quantity × unit price, rounded to the cent. Job price = the sum of all amounts.
- You can have up to 40 lines. Remove a line with the × button; Start blank clears the quote, Load the sample job puts the made-up example back.
Incentives
- Fixed amount: the incentive pays the dollar amount you enter. Percent: it pays that percent of the job price.
- Cap: the most the incentive can pay. 0 means no cap. A percent incentive of 10 % with a $2,000 cap on a $30,000 job pays $2,000.
- Paid at signing: the amount comes off the price the homeowner pays up front (a point-of-sale rebate or your own discount). After install: the homeowner pays the full amount up front and claims it later (a mail-in rebate or a tax credit).
- Incentives at signing are applied first, then the later ones, in list order. Together they are held to the job price — an incentive that would pass it is cut and marked.
- Ampwright cannot tell you whether a home qualifies or how much a program pays. Check each program's own rules before you quote it.
Financing
- Term 0 means a cash job. Any other term (1–360 months) turns on the loan fields.
- Down payment is paid at signing and comes off the amount due; if it is larger than the amount due it is cut to it.
- Amount financed P = due at signing − down payment. Monthly rate r = APR ÷ 12 ÷ 100.
- Monthly payment = P × r ÷ (1 − (1 + r)^−n) for n months, or P ÷ n at 0 % APR, rounded to the cent.
- Total paid = down payment + payment × n. Total interest = total paid − due at signing. After later incentives arrive = total paid − incentives claimed after install.
- Real loans add fees, promotional periods and different rounding. Use this to compare options, and give the homeowner the lender's own disclosure.
CSV and saved quotes
- Download CSV gives one file per quote: a row per line item and incentive (incentives as negative amounts), then the totals and, for a loan, the financing rows.
- Cells that start with =, +, -, @, tab or carriage return get a leading apostrophe so a spreadsheet does not run them as formulas; plain negative numbers stay numbers.
- In /app, type a name and choose Save. You can keep up to 30 quotes; names are up to 60 characters and must be different. Load puts a saved quote back into the form; your last quote is kept too.
Account and workspace
- Choose Sign up, then enter your name, email and a password with at least 8 characters, one letter and one number.
- You land in your workspace at /app. Saved quotes are kept in this browser (localStorage) under your account. Clearing site data removes them, so download a CSV now and then.
- Use Log out in the top bar when you are done on a shared device. To delete your account, email [email protected].
Account API
- POST /api/auth/signup with JSON { name, email, password } → 201 and a session cookie; 409 if the email is taken, 400 on invalid input.
- POST /api/auth/login with JSON { email, password } → 200 and a session cookie; 401 on a wrong password, 429 after too many tries.
- GET /api/auth/me → 200 with the signed-in user, or 401 when signed out. POST /api/auth/logout ends the session.
- Requests that change data must come from the same origin (cookie session, no API keys). The quote builder itself has no API — it runs in your browser.
Ampwright adds up the numbers you enter. Totals are estimates, not a loan offer or a promise that any incentive will be paid — confirm each program and the lender's terms.