Library · Developer · general
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 reposito…
Prompt text
How it works
Conceptual workflow
Derived from this prompt's instructions: adopt Full Stack Developer, then return a single reply. This is a map of the text, not a live model execution. For compile, eval, constrain, and search loops, see prompt engineering.
vcp · prompts/node-web-app-for-czech-invoice-pdf-generation
run@once
- receive
- bind
- role
- execute
- output
Stage 1 / 5 · receive
Receive the user turn
The user sends a task, command, or line of dialogue. That text is the only new input for this turn.
Artifact · user-turn.txt
User input
pwd
Rule in force
This turn’s input is the only new information.
Visible reply
(waiting — role not adopted yet)
Illustration · not a live model run
Prompt evidence
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 PDFsConceptual workflow · 4.5s / stage · 1/5