Skip to content

Docs

How the Ampwright quote builder works — line items, incentives, the loan formula and limits.

Line items

  1. 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.
  2. Amount = quantity × unit price, rounded to the cent. Job price = the sum of all amounts.
  3. 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

  1. Fixed amount: the incentive pays the dollar amount you enter. Percent: it pays that percent of the job price.
  2. 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.
  3. 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).
  4. 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.
  5. 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

  1. Term 0 means a cash job. Any other term (1–360 months) turns on the loan fields.
  2. 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.
  3. Amount financed P = due at signing − down payment. Monthly rate r = APR ÷ 12 ÷ 100.
  4. Monthly payment = P × r ÷ (1 − (1 + r)^−n) for n months, or P ÷ n at 0 % APR, rounded to the cent.
  5. Total paid = down payment + payment × n. Total interest = total paid − due at signing. After later incentives arrive = total paid − incentives claimed after install.
  6. 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

  1. 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.
  2. 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.
  3. 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

  1. Choose Sign up, then enter your name, email and a password with at least 8 characters, one letter and one number.
  2. 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.
  3. Use Log out in the top bar when you are done on a shared device. To delete your account, email [email protected].

Account API

  1. POST /api/auth/signup with JSON { name, email, password } → 201 and a session cookie; 409 if the email is taken, 400 on invalid input.
  2. POST /api/auth/login with JSON { email, password } → 200 and a session cookie; 401 on a wrong password, 429 after too many tries.
  3. GET /api/auth/me → 200 with the signed-in user, or 401 when signed out. POST /api/auth/logout ends the session.
  4. 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.