# India GST number is not included below from company address

**URL:** <https://www.dolibarr.org/forum/t/india-gst-number-is-not-included-below-from-company-address/20614>\
**Category:** Financial modules\
**Tags:** v13, Issue\
**Created:** [April 23, 2021, 1:30pm UTC](https://www.dolibarr.org/forum/t/india-gst-number-is-not-included-below-from-company-address/20614 "2021-04-23T13:30:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ALSOFT](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/alsoft/32/478_2.png) [@ALSOFT](https://www.dolibarr.org/forum/u/ALSOFT)\
**Post date:** [April 23, 2021, 1:30pm UTC](https://www.dolibarr.org/forum/t/india-gst-number-is-not-included-below-from-company-address/20614/1 "2021-04-23T13:30:29Z")

</div>

According to the Indian taxation very invoice should contain the from company (The company selling goods or services) with it’s address and to company (The company buying goods or services) with it’s address. In the invoice broth’s company TAX ID/ PROFILE ID should present below address.

I am using general **crabe** default ODT template. I have solved the problem for to company using setting MAIN\_PROFID1\_IN\_ADDRESS = 1 in other setup. But I could not do find out to place the GST number for from company using any normal settings. Could any one tell me how to do this? @eldy could you help me?

---

<div class="post-metadata">

**Author:** ![RiseValInfotech](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@RiseValInfotech](https://www.dolibarr.org/forum/u/RiseValInfotech)\
**Post date:** [April 23, 2021, 3:20pm UTC](https://www.dolibarr.org/forum/t/india-gst-number-is-not-included-below-from-company-address/20614/2 "2021-04-23T15:20:12Z")

</div>

Hi,

Have you created the .ODT file complaint to India GST system…? If you may like to share it as a give back to Dolibarr community, please share the template in this forum.

thanks  
yesbee

---

<div class="post-metadata">

**Author:** ![pcbleu](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/pcbleu/32/3120_2.png) [@pcbleu](https://www.dolibarr.org/forum/u/pcbleu)\
**Post date:** [April 26, 2021, 12:11pm UTC](https://www.dolibarr.org/forum/t/india-gst-number-is-not-included-below-from-company-address/20614/3 "2021-04-26T12:11:27Z")

</div>

Hey

You may find an answer in the “pdf\_build\_address” function in htdocs/core/lib/pdf.lib.php  
this is the place where MAIN\_PROFID1\_IN\_ADDRESS is used  
and there is also another constant named MAIN\_PROFID1\_IN\_SOURCE\_ADDRESS which is used for “from company”…

Good continuation

---

<div class="post-metadata">

**Author:** ![eldy](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/eldy/32/12_2.png) [@eldy](https://www.dolibarr.org/forum/u/eldy)\
**Post date:** [May 20, 2021, 10:25am UTC](https://www.dolibarr.org/forum/t/india-gst-number-is-not-included-below-from-company-address/20614/4 "2021-05-20T10:25:01Z")

</div>

For ODT document, you can get the ID of company usign this tags  
{company\_idprof1}  
{company\_idprof2}  
etc…  
and {company\_vatnumber}

---

<div class="post-metadata">

**Author:** ![ALSOFT](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/alsoft/32/478_2.png) [@ALSOFT](https://www.dolibarr.org/forum/u/ALSOFT)\
**Post date:** [August 26, 2021, 8:42am UTC](https://www.dolibarr.org/forum/t/india-gst-number-is-not-included-below-from-company-address/20614/5 "2021-08-26T08:42:50Z")

</div>

Thanks for your solution. I have solved the problem from your information. I set the following configuration values to 1 in other setup and now GST and and PAN number is directly added in the invoice for source company.

MAIN\_PROFID1\_IN\_SOURCE\_ADDRESS = 1  
MAIN\_PROFID2\_IN\_SOURCE\_ADDRESS = 1
