diff --git a/userguide/tutorials/invoice_templates.adoc b/userguide/tutorials/invoice_templates.adoc index d819b60bd..3ecf30558 100644 --- a/userguide/tutorials/invoice_templates.adoc +++ b/userguide/tutorials/invoice_templates.adoc @@ -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"] |=== @@ -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