Support

Help with your kit.

Stuck on a step? Most problems have a known fix below. If yours doesn't, email us with the details and we'll work through it with you.

Email support
support@layerva.io

We answer by email within 2 business days. To help us help you quickly, please include:

  • The step number (01 to 12) you are on.
  • The exact error, copied as text, plus what you already tried.
  • Your node -v and your operating system.
  • Your order number for questions about your license or a refund.

Please don't send passwords, API keys, .env files or your database.

Getting started

The short version of QUICKSTART.md, which is in your download. The getting started page has the full walk-through.

  1. Check your tools. node -v (Node.js 22 LTS, the version the kit is tested with), git --version, claude --version.
  2. Make an empty folder. mkdir invoicekit-pro && cd invoicekit-pro && git init, then start claude.
  3. Read prompts/00-read-me-first.md, then paste prompt 01 into Claude Code and wait for its checks.
  4. Commit after each step (git add -A && git commit -m "step 1") and repeat with 02 to 12. Only move on when every check of the current prompt passes.
  5. Run it with npm run dev, open http://localhost:3000 and sign up in your own copy of the app. To put it online, follow docs/DEPLOY.md.

It's fine, and often better, to start a new Claude Code session for a later step: every prompt works from the code in your folder.

Troubleshooting

The most common questions, from docs/TROUBLESHOOTING.md. More fixes are on the troubleshooting page, and the full guide is in your download.

Claude Code went a different way than the prompt

Tell it: “Follow the prompt exactly and the rules in AGENTS.md.” If a step is badly off, go back to your last commit (git reset --hard) and paste the prompt again.

A check at the end of a prompt keeps failing

Paste the exact error and ask Claude Code to explain the cause before changing code. Then run only the failing check again. If it still fails, reset to the last commit and redo the step, in a new Claude Code session if needed.

The session got long or slow

Start a new Claude Code session in the same folder and paste the next prompt. Every prompt works from the code and AGENTS.md in your folder; it does not need the earlier conversation.

better-sqlite3 fails to install

Use Node.js 22 LTS (nvm use 22). On Windows, install the “Desktop development with C++” build tools if no prebuilt binary is available; on Linux, build-essential and python3.

npm install changed versions

Step 01 pins exact versions. Use npm ci to install exactly what package-lock.json lists, and add new packages with npm install --save-exact.

“SESSION_SECRET” error on start

Set SESSION_SECRET in .env.local to a random string of at least 32 characters (openssl rand -base64 48). The placeholder from .env.example is rejected on purpose. Changing it later logs everyone out and changes every shared link.

Logged out right after logging in with npm run start

In production the session cookie is secure-only, so it needs HTTPS (or http://localhost). Deploy behind HTTPS. For a quick local network test only, set COOKIE_SECURE=false.

I can't edit a sent invoice or quote

Sent documents are locked on purpose. For a sent invoice without payments, use “Back to draft”. An invoice with payments must have them voided or refunded first. To cancel, use “Void”. Nothing financial is deleted.

Emails say “not configured” or stay queued

Set the SMTP_* lines in .env.local and restart. Settings › Email shows each message's status and last error, and has a “Send test email” button. Queued emails are retried by npm run jobs.

Recurring invoices or reminders don't appear

They are created by npm run jobs, which should run every 15 minutes (see docs/DEPLOY.md). Owners can also press “Run now” on the Recurring page.

A Stripe payment didn't mark the invoice paid

Only Stripe's signed webhook records card payments. Check the webhook URL (APP_URL/api/stripe/webhook), the event checkout.session.completed and STRIPE_WEBHOOK_SECRET. The Stripe dashboard shows each delivery and its response.

Data or receipts disappear after a redeploy

DATABASE_PATH or UPLOADS_PATH is inside the app folder or on a disk that is wiped. Put both on a persistent disk outside the code. Serverless hosts that don't keep files are not supported.

A backup is empty or corrupt

The database was probably copied with cp while the app was running. Use npm run db:backup, which is safe while the app runs and includes the uploads, and check it with npm run db:restore-check.

Before you buy

Questions about what the kit does? Read the InvoiceKit Pro page, including its known limits, the public docs, or try the live demo. For refunds, see the refund policy.

Please note that support covers the kit: the prompts, the guides and building the app with them. InvoiceKit Pro is a build kit, so we don't host or operate your app.