Invoice Number

Hello,

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 }}

Thanks.

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.