# Use Invoice number as reference number

**URL:** <https://forum.manager.io/t/use-invoice-number-as-reference-number/18851>\
**Category:** Uncategorized\
**Created:** [October 29, 2018, 9:36am UTC](https://forum.manager.io/t/use-invoice-number-as-reference-number/18851 "2018-10-29T09:36:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![psp](https://avatars.discourse-cdn.com/v4/letter/p/a5b964/32.png) [@psp](https://forum.manager.io/u/psp)\
**Post date:** [October 29, 2018, 9:36am UTC](https://forum.manager.io/t/use-invoice-number-as-reference-number/18851/1 "2018-10-29T09:36:03Z")

</div>

Hi ,  
At the very bottom of my invoice, I need to use the invoice number as the payer’s reference number.

**PAYMENT DETAILS**
  

Account Name : Manager IO
  

Account Number : 12345
  

Payment Reference: \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
  

Am I able to isolate invoice number from the array of ‘fields’?

Thanks!

---

<div class="post-metadata">

**Author:** ![Joe](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@Joe](https://forum.manager.io/u/Joe)\
**Post date:** [October 29, 2018, 9:58am UTC](https://forum.manager.io/t/use-invoice-number-as-reference-number/18851/2 "2018-10-29T09:58:07Z")

</div>

Why you don’t just write a note to the payer/customer asking him to reference the invoice number with the payment.

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [October 29, 2018, 1:19pm UTC](https://forum.manager.io/t/use-invoice-number-as-reference-number/18851/3 "2018-10-29T13:19:23Z")

</div>

> [@psp](#):
>
> Am I able to isolate invoice number from the array of ‘fields’?

Yes, you could do this with a custom theme, but it would take several lines of code to implement. You would need to loop through the `fields` array, applying a conditional logic test, and rejecting all but `reference`. Please don’t ask how, as this is not a coding forum. If you don’t have the skills, hire a Liquid programmer to write the theme for you.

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [January 18, 2023, 3:08pm UTC](https://forum.manager.io/t/use-invoice-number-as-reference-number/18851/4 "2023-01-18T15:08:11Z")

</div>

Closed on January 18, 2023, 3:08pm UTC


