OperationsSandbox · bring your own key

Test “Invoice” with your own key

Paste an Anthropic, OpenAI, or OpenRouter key. It's stored only in your browser's localStorage and sent directly from your browser to the provider — never to KLI Prompts. We have no backend that can see it.

How this works (honestly)

  • Your key lives in localStorage on this device only.
  • The HTTP request to the LLM goes from your browser straight to api.anthropic.com / api.openai.com / openrouter.ai.
  • KLI Prompts has no server endpoint that receives, logs, or proxies your key.
  • Clear it any time — there's a button below.

Step 1 · Provider

Recommended for this prompt: any · temperature 0.4

Step 2 · Your API key

Saved to localStorage on this device. Never sent to KLI servers.

Step 3 · Fill the variables

Final prompt (sent to anthropic)

You are an expert invoice generator. Generate a professional, plain-text/markdown invoice based on the following details.

Sender (freelancer/business): {{sender_name}}
Client: {{client_name}}
Line Items (description of work): {{line_items}}
Invoice Number: {{invoice_number}}
Invoice Date: {{invoice_date}}
Due Date: {{due_date}}
Currency: {{resolved_currency}}
Tax Percent: {{tax_percent}}%
Payment Details (bank/UPI): {{payment_details}}
Notes: {{notes}}

Generate a complete, professional invoice in markdown format with:
1. Header with invoice number, date, and due date
2. Sender and client details sections
3. A well-formatted table of line items with amounts calculated from the description
4. Subtotal, tax calculation, and total due
5. Payment terms and payment details (bank/UPI if provided)
6. Any notes
7. A professional closing

Parse the line items description carefully to extract individual items, quantities, rates, and calculate amounts. If amounts cannot be parsed, use placeholder amounts and note them clearly.

Return ONLY the invoice markdown, no extra commentary.

Output — will stream here

Nothing yet. Fill in variables and click Run.

Prompt slug: invoice

Prefer copy-paste? Back to the prompt page →