From 19ce869bb760374768323e54654a49010af9ca1b Mon Sep 17 00:00:00 2001 From: promptadmin Date: Sat, 6 Jun 2026 19:36:13 +0000 Subject: [PATCH] Automated ingestion of prompt: Node Web App for Czech Invoice PDF Generation --- ...pp_for_czech_invoice_pdf_generation_789.md | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 prompts/coding/node_web_app_for_czech_invoice_pdf_generation_789.md diff --git a/prompts/coding/node_web_app_for_czech_invoice_pdf_generation_789.md b/prompts/coding/node_web_app_for_czech_invoice_pdf_generation_789.md new file mode 100644 index 0000000..bb377c0 --- /dev/null +++ b/prompts/coding/node_web_app_for_czech_invoice_pdf_generation_789.md @@ -0,0 +1,21 @@ +--- +title: "Node Web App for Czech Invoice PDF Generation" +contributor: "@ddann" +tags: #coding, #ddann +--- + +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