# Invoice template SPECIMEN.pdf, source file?

**URL:** <https://www.dolibarr.org/forum/t/invoice-template-specimen-pdf-source-file/17101>\
**Category:** Using my Dolibarr\
**Created:** [November 20, 2018, 10:10am UTC](https://www.dolibarr.org/forum/t/invoice-template-specimen-pdf-source-file/17101 "2018-11-20T10:10:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronny](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/94ad74/32.png) [@Ronny](https://www.dolibarr.org/forum/u/Ronny)\
**Post date:** [November 20, 2018, 10:10am UTC](https://www.dolibarr.org/forum/t/invoice-template-specimen-pdf-source-file/17101/1 "2018-11-20T10:10:56Z")

</div>

Hello,

I’m struggling right now in order to create a custom invoice for me. I don’t want to start from scratch, so I decided to take the SPECIMEN.pdf as a fundament for my work. I would like to know from which source (.odt File? or PHP code?) it is generated from, so that I can edit it there directly.

Thank you so much,  
Ronny.

---

<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:** [November 20, 2018, 10:48am UTC](https://www.dolibarr.org/forum/t/invoice-template-specimen-pdf-source-file/17101/2 "2018-11-20T10:48:55Z")

</div>

Hi,

Usually specimen is create with the defaut PDF modele of each module.  
To make your own model : [https://wiki.dolibarr.org/index.php/Create\_a\_PDF\_document\_template](https://wiki.dolibarr.org/index.php/Create_a_PDF_document_template)

---

<div class="post-metadata">

**Author:** ![Ronny](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/94ad74/32.png) [@Ronny](https://www.dolibarr.org/forum/u/Ronny)\
**Post date:** [November 20, 2018, 2:16pm UTC](https://www.dolibarr.org/forum/t/invoice-template-specimen-pdf-source-file/17101/3 "2018-11-20T14:16:03Z")

</div>

Hi, thanks for your reply. I need some .odt sample file on which I can build upon. Is there some sample file? This is what I’m looking for.

---

<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:** [November 20, 2018, 2:36pm UTC](https://www.dolibarr.org/forum/t/invoice-template-specimen-pdf-source-file/17101/4 "2018-11-20T14:36:41Z")

</div>

Dear,

Please find below some exemples.  
They are not from me, I just download them.

[Facture\_test.odt](https://www.dolibarr.org/forum/uploads/short-url/fqvq0QgJZzqc6qqI64muA7Wcl3R.odt) (16.2 KB)

[template\_idl.odt](https://www.dolibarr.org/forum/uploads/short-url/9gQj7Z4QGDtpSpdFOA1abcxiHLI.odt) (13.1 KB)

[Devis\_ref.odt](https://www.dolibarr.org/forum/uploads/short-url/bNEnGfnEFOjlfdQltd21StS6qyD.odt) (46.7 KB)

---

<div class="post-metadata">

**Author:** ![Ronny](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/94ad74/32.png) [@Ronny](https://www.dolibarr.org/forum/u/Ronny)\
**Post date:** [November 20, 2018, 2:44pm UTC](https://www.dolibarr.org/forum/t/invoice-template-specimen-pdf-source-file/17101/5 "2018-11-20T14:44:08Z")

</div>

I created an odt template and stored it under documents/doctemplates (and to be on the safe side under documents/doctemplates/invoices) as explained [here](https://wiki.dolibarr.org/index.php/Create_an_ODT_document_template), but I can’t use it for creating documents, it simply does not appear anywhere. As templates I get always “crabe” and “einstein” templates. What can I do? Please give some advices.

---

<div class="post-metadata">

**Author:** ![Ronny](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/94ad74/32.png) [@Ronny](https://www.dolibarr.org/forum/u/Ronny)\
**Post date:** [November 20, 2018, 2:49pm UTC](https://www.dolibarr.org/forum/t/invoice-template-specimen-pdf-source-file/17101/6 "2018-11-20T14:49:07Z")

</div>

Thank you so much Ksar ! :happy:

> [@Ronny](#):
>
> I created an odt template and stored it under documents/doctemplates (and to be on the safe side under documents/doctemplates/invoices) as explained [here](https://wiki.dolibarr.org/index.php/Create_an_ODT_document_template), but I can’t use it for creating documents, it simply does not appear anywhere. As templates I get always “crabe” and “einstein” templates. What can I do? Please give some advices.

If you could only tell me where to put them, I will be very happy.

---

<div class="post-metadata">

**Author:** ![Ronny](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/94ad74/32.png) [@Ronny](https://www.dolibarr.org/forum/u/Ronny)\
**Post date:** [November 20, 2018, 3:01pm UTC](https://www.dolibarr.org/forum/t/invoice-template-specimen-pdf-source-file/17101/7 "2018-11-20T15:01:52Z")

</div>

Ok I found it (for anyone who is having the same trouble): You need to go to Home -\> Setup -\> Modules -\> Invoices Setup and activate “ODT/ODS templates”.

Unfortunately I get it back from backend as ODT and not as PDF as I have expected it to convert it for me :unhappy:

---

<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:** [November 20, 2018, 3:31pm UTC](https://www.dolibarr.org/forum/t/invoice-template-specimen-pdf-source-file/17101/8 "2018-11-20T15:31:29Z")

</div>

You should use the ODT2PDF script

[[url=www.dolibarr.org/t/solved-odt-to-pdf/16931/1](http://url=www.dolibarr.org/t/solved-odt-to-pdf/16931/1)
