# Adding custom details in Invoice

**URL:** <https://www.dolibarr.org/forum/t/adding-custom-details-in-invoice/17407>\
**Category:** Using my Dolibarr\
**Created:** [March 6, 2019, 10:57am UTC](https://www.dolibarr.org/forum/t/adding-custom-details-in-invoice/17407 "2019-03-06T10:57:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![h6585](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/h/5f8ce5/32.png) [@h6585](https://www.dolibarr.org/forum/u/h6585)\
**Post date:** [March 6, 2019, 10:57am UTC](https://www.dolibarr.org/forum/t/adding-custom-details-in-invoice/17407/1 "2019-03-06T10:57:43Z")

</div>

Hi,

How do I add the following details on my invoice:

1] Customer’s Purchase Order Reference Number  
2] Purchase Order Date  
3] Despatch details [Vehicle number or the AWB number]  
4] Despatch date

These details are unique to every invoice and might be or might not be needed.

How can I achieve this? Is it through ExtraFields / Complimentary attributes or through some other way.

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [March 6, 2019, 12:31pm UTC](https://www.dolibarr.org/forum/t/adding-custom-details-in-invoice/17407/2 "2019-03-06T12:31:40Z")

</div>

Hi,

It really depends on how much you know/ready to invest in time to configur or money to pay someone to do it.

I would say that if you would like to do it with the software as it is , you can use :  
- The invoice pubilic note  
- add a free line of text to your invoice.

If you would like to invest more, you can create extrafields and create your own invoice model (in php or odt)

Up to you !

---

<div class="post-metadata">

**Author:** ![h6585](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/h/5f8ce5/32.png) [@h6585](https://www.dolibarr.org/forum/u/h6585)\
**Post date:** [March 6, 2019, 12:39pm UTC](https://www.dolibarr.org/forum/t/adding-custom-details-in-invoice/17407/3 "2019-03-06T12:39:04Z")

</div>

Public note idea is good, will use it as a stop gap solution.

I am interested in the extrafields option as I want a similar field for my terms and conditions page on proposals.

I am currently creating my invoice model in ODT format.

It would be really helpful if you could point me in the right direction.

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [March 6, 2019, 1:04pm UTC](https://www.dolibarr.org/forum/t/adding-custom-details-in-invoice/17407/4 "2019-03-06T13:04:53Z")

</div>

Hi,

To create extrafields you go on invoice module configuration and then you can create what you need.

To integrate an extrafield in odt, use the {object\_options\_xxx} : Value of extra field (where xxx is code of extra field)

Good luck !

---

<div class="post-metadata">

**Author:** ![h6585](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/h/5f8ce5/32.png) [@h6585](https://www.dolibarr.org/forum/u/h6585)\
**Post date:** [March 6, 2019, 1:21pm UTC](https://www.dolibarr.org/forum/t/adding-custom-details-in-invoice/17407/5 "2019-03-06T13:21:03Z")

</div>

Okay, I tried this method, however, it didn’t work out.

Guess I would have made some error. Will rework and post here.

---

<div class="post-metadata">

**Author:** ![h6585](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/h/5f8ce5/32.png) [@h6585](https://www.dolibarr.org/forum/u/h6585)\
**Post date:** [March 7, 2019, 12:00pm UTC](https://www.dolibarr.org/forum/t/adding-custom-details-in-invoice/17407/6 "2019-03-07T12:00:41Z")

</div>

Got this working through exrtrafields/complimentary attributes in ODT file

---

<div class="post-metadata">

**Author:** ![ariffidaali](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ariffidaali/32/462_2.png) [@ariffidaali](https://www.dolibarr.org/forum/u/ariffidaali)\
**Post date:** [May 23, 2019, 10:56am UTC](https://www.dolibarr.org/forum/t/adding-custom-details-in-invoice/17407/7 "2019-05-23T10:56:06Z")

</div>

Hi h6585,

> [@](#):
>
> Got this working through exrtrafields/complimentary attributes in ODT file

Can you do a step by step of this?
