Chapter 5. Templates guide: How to create and edit templates for Fanurio

Table of Contents

5.1. Getting started
5.1.1. Creating an invoice template in 10 minutes or less
5.1.2. Installing a template
5.1.3. About Apache FreeMarker
5.2. Using the template editor
5.2.1. Basic settings
5.2.1.1. Logo
5.2.1.2. QR-bill
5.2.1.3. PDF/A compliance
5.2.1.4. ZUGFeRD / Factur-X
5.2.2. Adjust the look and format using CSS (for advanced users only!)
5.2.3. Adjust the meta-template (for advanced users only!)
5.3. The anatomy of a simple template
5.3.1. Placeholders or how to access fields
5.3.2. Built-ins or how to get more details about a field
5.3.3. Directives or how to perform operations on fields
5.4. Creating templates the easy way
5.4.1. Using directives in tables (important!)
5.4.2. HyperText Markup Language (.html)
5.4.3. Microsoft Word (.docx)
5.4.4. OpenDocument Text (.odt)
5.4.5. OpenDocument Spreadsheet (.ods)
5.5. Creating templates like a professional (HTML and CSS)
5.5.1. Page formatting
5.5.2. PDF export settings
5.5.2.1. Background layer
5.5.2.2. Document properties
5.5.2.3. Embedded fonts
5.5.2.4. PDF/A compliance
5.6. Creating templates like a professional (Plain Text and XML)
5.6.1. Example: Quicken
5.6.2. Example: Scribus (DTP)
5.7. A comparison of all supported file formats
5.8. Placeholders reference
5.8.1. Business
5.8.2. Client
5.8.3. Quote
5.8.4. Quote Item
5.8.5. Invoice
5.8.6. Invoice Item
5.8.7. Payment
5.8.8. Deposit
5.8.9. Tax
5.8.10. Invoice Project
5.8.11. Time Entry
5.8.12. Task
5.8.13. Expense
5.8.14. Trip
5.8.15. Projects Report
5.8.16. Time Report
5.8.17. Tasks Report
5.8.18. Expenses Report
5.8.19. Trips Report
5.8.20. Sales Report
5.9. The qrcode FreeMarker directive (for advanced users)
5.9.1. Parameters
5.9.2. QR Payment / QR Platba
5.9.3. EPC QR code
5.10. The einvoice FreeMarker directive (for advanced users)
5.10.1. Parameters
5.10.2. Creating a ZUGFeRD / Factur-X invoice
5.11. The qrbill FreeMarker directive (for advanced users)
5.11.1. Parameters
5.11.2. Integrating qrbill in HTML
5.12. The jfreechart FreeMarker directive (for advanced users)
5.12.1. Parameters
5.12.2. Chart types
5.12.2.1. Area charts
5.12.2.1.1. Category area charts
5.12.2.1.2. XY area charts
5.12.2.1.3. Time series area charts
5.12.2.2. Bar charts
5.12.2.2.1. Bar charts
5.12.2.2.2. Stacked bar charts
5.12.2.3. Line charts
5.12.2.3.1. Category line charts
5.12.2.3.2. XY line charts
5.12.2.3.3. Time series line charts
5.12.2.4. Pie charts
5.12.2.4.1. Pie charts
5.12.2.4.2. Ring charts
5.12.3. Chart properties
5.12.3.1. Chart
5.12.3.2. Title and subtitles
5.12.3.3. Legend
5.12.3.4. Plot
5.12.3.5. Renderer
5.12.3.6. Domain axis
5.12.3.7. Range axis
5.13. The markdown FreeMarker directive (for advanced users)
5.13.1. Syntax
5.13.2. Converting placeholders with Markdown text into HTML
5.14. The numbertext FreeMarker function (for advanced users)
5.14.1. Parameters
5.14.2. Writing the invoice total in words
5.14.3. Errors

This guide shows you how to create or edit templates that you can use to export documents like quotes and invoices.