Skip to content

Invoice Templates

Customize the appearance of your invoice PDFs and public invoice pages with Mustache HTML templates.

Built-in Templates

Inkvoice ships with built-in templates that cover common invoice layouts. You can use them as-is or as a starting point for customization.

Custom Templates

Creating a Template

  1. Navigate to Templates and click New Template
  2. Write your HTML template using Mustache syntax
  3. Add CSS for styling
  4. Preview with sample data
  5. Save

Template Variables

Templates receive the full invoice data as Mustache variables:

VariableDescription
invoice_numberInvoice number
issue_dateIssue date
due_dateDue date
statusInvoice status
subtotalSubtotal before tax and discount
tax_totalTotal tax amount
discount_amountDiscount amount
totalFinal total
notesInvoice notes
payment_termsPayment terms
currencyCurrency code
itemsArray of line items (use Mustache section syntax to loop)
items[].descriptionLine item description
items[].quantityLine item quantity
items[].unit_priceLine item unit price
items[].line_totalLine item total
customer.nameCustomer name
customer.emailCustomer email
customer.address_line1Customer address
business.nameYour business name
business.emailYour business email
business.addressYour business address
business.logo_urlYour business logo URL

Installing Templates

You can install templates from a URL or upload a template file. Templates can also be updated from their remote source.

Default Template

Set any template as the default. New invoices will use the default template unless you select a different one.

Released under the MIT License.