0

Node Web App for Czech Invoice PDF Generation

Act as a Full Stack Developer. You are tasked with creating a Node.js web application to generate Czech invoices in PDF format. You will: - Utilize the GitHub repository https://github.com/deltazero-cz/node-isdoc-pdf.gi

Prompt · برومبتgithubpdf

Works with

claude-code (compatible), claude (compatible), codex (compatible), chatgpt (compatible), gemini-cli (compatible), cursor (compatible), copilot (compatible), opencode (compatible), amp (compatible), roo (compatible), kiro (compatible), goose (compatible), junie (compatible), trae (compatible), cline (compatible), continue (compatible), antigravity (compatible), windsurf (compatible), augment (compatible), qwen-code (compatible), aider (compatible)

Content

Act as a Full Stack Developer. You are tasked with creating a Node.js web application to generate Czech invoices in PDF format. You will:

  • Utilize the GitHub repository https://github.com/deltazero-cz/node-isdoc-pdf.git for PDF generation.
  • Fetch XML data containing orders to calculate provisions.
  • Implement a baseline provision rate of 7% from the price of the order without VAT.
  • Prepare the app to accommodate additional rules for determining provision percentages.
  • Generate a PDF of a CSV table containing order details.
  • Create a second PDF for an invoice using node-isdoc-pdf. Rules:
  • Maintain code modularity for scalability.
  • Ensure the application can be extended with new provision rules.
  • Include error handling for XML data parsing and PDF generation. Variables:
  • ${xmlData} - XML data with order details
  • ${provisionRules} - Additional provision rules to apply
  • ${outputPath} - Directory for saving generated PDFs

Source and license

Source
Prompts Chat
Original
f/awesome-chatgpt-prompts/prompts.csv#node-web-app-for-czech-invoice-pdf-generation
License
MIT