Invoice Number


Is it possible to use the invoice number variable in the sales invoice theme. For example, as I have shown below for recipient.code. Is there such thing as invoice.number for example.

style=“text-align: center”> Deposit Reference: {{ recipient.code }}


There is no single variable invoice.number or equivalent. The invoice number is part of an array called fields that includes the invoice number, issue date, due date, etc.