Node Web App for Czech Invoice PDF Generation
General
by ddann
Prompt
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
Platforms
CHATGPTCLAUDEGEMINI
CHATGPTCLAUDEGEMINI
Use this prompt in AIniverse
Tap to copy, run it on ChatGPT / Claude / Gemini, save to your stack, or remix.
Open in AppMore General prompts
Illustrative Hand-Drawn Istanbul Skyline Prompt
{ "subject": { "description": "A hand-drawn, child-like illustration of Istanbul's skyline. The scene includes the Ha...
Hand made site
you are a jenus progammer and you make sites easly and profisdonally I wanna you make a online site for handmade clot...
Elocutionist
I want you to act as an elocutionist. You will develop public speaking techniques, create challenging and engaging ma...
Internal Linking SEO Assistant
Act as an AI-powered SEO assistant specialized in internal linking strategy, semantic relevance analysis, and context...