Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions userguide/tutorials/invoice_templates.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,14 @@ The table below lists all the available invoice item fields.

=== Account Fields

These fields are accessed under the account. namespace, e.g. {{account.name}}, and come directly from the account object (rather than a formatter wrapper) — so, unlike the invoice and invoice item fields above, there are no formatted*/pretty* convenience variants.
These fields are accessed under the account. namespace, e.g. `{{account.name}}`, and come directly from the account object (rather than a formatter wrapper) — so, unlike the invoice and invoice item fields above, there are no formatted/pretty convenience variants.

For example, to use the `email` field in the template, you can use the following snippet:

[source,html]
----
Invoice Amount Charged: #{{account.email}}
----

[cols="1,3", options="header"]
|===
Expand Down Expand Up @@ -724,7 +731,7 @@ image::https://github.com/killbill/killbill-docs/raw/v3/userguide/assets/img/inv
+
This displays the invoice in a new browser tab, which you can then inspect to confirm your changes.
+
image::https://github.com/killbill/killbill-docs/raw/v3/userguide/assets/img/invoice_templates/html_invoice.png[align=center]
image::https://github.com/killbill/killbill-docs/raw/v3/userguide/assets/img/invoice_templates/html-invoice.png[align=center]

== Customizing Invoice Data

Expand Down
Loading