# How do I add Invoice\> Complementary Attributes (invoices)\> Custom to E-mail template notification?

**URL:** <https://www.dolibarr.org/forum/t/how-do-i-add-invoice-complementary-attributes-invoices-custom-to-e-mail-template-notification/30553>\
**Category:** Financial modules\
**Tags:** Question, Help\
**Created:** [August 12, 2025, 10:35pm UTC](https://www.dolibarr.org/forum/t/how-do-i-add-invoice-complementary-attributes-invoices-custom-to-e-mail-template-notification/30553 "2025-08-12T22:35:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shadysundays](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/s/e9a140/32.png) [@shadysundays](https://www.dolibarr.org/forum/u/shadysundays)\
**Post date:** [August 12, 2025, 10:35pm UTC](https://www.dolibarr.org/forum/t/how-do-i-add-invoice-complementary-attributes-invoices-custom-to-e-mail-template-notification/30553/1 "2025-08-12T22:35:59Z")

</div>

Hello, I’m seeking some help. Been using doliabrr for around 9 months now, still learning and customizing the system. Not sure if what I want is possible.

I went into Setup \> Modules \> Invoices \> Complementary Attributes (invoices)\> Custom, created a custom field displayed in the New Invoice portion (Attribute code “room\_number”):

 ![Screenshot 2025-08-13 at 4.05.01 AM](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/0/08d3a604f89b84e55c76b1620adb1a326c130373.png)

Basically I need to enter a Room Number, which is easily changed at any point of the invoice life cycle (Draft, Valid, Paid), which I achieved successfully:

 ![Screenshot 2025-08-13 at 4.24.10 AM](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/3/314cdf6b5e88abcc4341820ea30d60f13a6440a0.png)

 ![Screenshot 2025-08-13 at 4.06.49 AM](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/2/2bb79117fea4669c31437e8cbd5ae77b72f64768.png)

When an invoice is validated, an e-mail notification goes out to an address, which is properly setup and works fine. **My question is: I don’t see the “room\_number” attribute showing up in the Avaliable Substitution Variables. It doesn’t show up in the e-mail notifications sent. The other variables are being pulled from the invoice, working as intended.**

I tried doing this using ExtraField as shown below. What am I doing wrong? What is the correct method? Is what I want even possible this way in a simple way?

 ![Screenshot 2025-08-13 at 4.30.26 AM](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/2/2b3ce4646b2eb433955c31f94fbe44d35dc7ea1d.png)  
 ![Screenshot 2025-08-13 at 4.30.49 AM](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/a/aeafdc615360c19a383c24c032fc0b111b0ffbb2.png)

Thank you for reading to this point and any help with this. I’ve gone through this forum a lot and received many answers on other issues. Have a nice day.

---

<div class="post-metadata">

**Author:** ![sonikf](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@sonikf](https://www.dolibarr.org/forum/u/sonikf)\
**Post date:** [August 13, 2025, 10:19am UTC](https://www.dolibarr.org/forum/t/how-do-i-add-invoice-complementary-attributes-invoices-custom-to-e-mail-template-notification/30553/2 "2025-08-13T10:19:26Z")

</div>

Hi @shadysundays

Try in all caps

` __EXTRAFIELD_ROOM_NUMBER__ `

---

<div class="post-metadata">

**Author:** ![shadysundays](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/s/e9a140/32.png) [@shadysundays](https://www.dolibarr.org/forum/u/shadysundays)\
**Post date:** [August 13, 2025, 3:14pm UTC](https://www.dolibarr.org/forum/t/how-do-i-add-invoice-complementary-attributes-invoices-custom-to-e-mail-template-notification/30553/3 "2025-08-13T15:14:29Z")

</div>

Yes! This worked perfectly! Thank you so much! 👏 🥲
