markitect-main/examples/invoicing/invoice_template.md

62 lines
1.4 KiB
Markdown
Raw Normal View History

---
document_type: "invoice"
invoice_number: "INV-2025-001"
date: "2025-10-02"
due_date: "2025-11-01"
currency: "EUR"
tax_rate: 0.19
status: "draft"
---
# Invoice {{invoice_number}}
**Date:** {{date}}
**Due Date:** {{due_date}}
## Bill To
Company: {{customer.company}}
Contact: {{customer.contact}}
Address: {{customer.address}}
Email: {{customer.email}}
## Bill From
Company: MarkiTect Solutions GmbH
Address: Innovation Street 42, 12345 Tech City
Email: billing@markitect.example
Tax ID: DE123456789
## Line Items
| Description | Quantity | Unit Price | Total |
|-------------|----------|------------|--------|
{{#each line_items}}
| {{description}} | {{quantity}} | {{unit_price}} {{../currency}} | {{multiply quantity unit_price}} {{../currency}} |
{{/each}}
## Summary
**Subtotal:** {{subtotal}} {{currency}}
**Tax ({{tax_rate_percent}}%):** {{tax_amount}} {{currency}}
**Total:** {{total}} {{currency}}
---
```yaml tailmatter
qa_checklist:
- requirement: "All line items verified"
complete: false
- requirement: "Customer details confirmed"
complete: false
- requirement: "Tax calculation verified"
complete: false
editorial:
status: "draft"
reviewer: "finance.team@markitect.example"
approval_required: true
calculations:
subtotal: "{{sum line_items 'total'}}"
tax_amount: "{{multiply subtotal tax_rate}}"
total: "{{add subtotal tax_amount}}"
```