# Xml format in Invoices and other

**URL:** <https://forum.manager.io/t/xml-format-in-invoices-and-other/12913>\
**Category:** Uncategorized\
**Created:** [November 25, 2017, 12:41am UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913 "2017-11-25T00:41:16Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![BaldeSeca](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@BaldeSeca](https://forum.manager.io/u/BaldeSeca)\
**Post date:** [November 25, 2017, 12:41am UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/1 "2017-11-25T00:41:16Z")

</div>

The government require to emit Invoices in XML format to be valid, how can I use Manager and be able to fulfill these requirement.

---

<div class="post-metadata">

**Author:** ![sharpdrivetek](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/sharpdrivetek/32/34244_2.png) [@sharpdrivetek](https://forum.manager.io/u/sharpdrivetek)\
**Post date:** [November 25, 2017, 3:38am UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/2 "2017-11-25T03:38:22Z")

</div>

What use does the government have with an xml formatted invoice?  
do you have any official link to share from the government notifying this need?

---

<div class="post-metadata">

**Author:** ![Frankie](https://avatars.discourse-cdn.com/v4/letter/f/258eb7/32.png) [@Frankie](https://forum.manager.io/u/Frankie)\
**Post date:** [November 25, 2017, 7:42am UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/3 "2017-11-25T07:42:20Z")

</div>

I requested this feature about 3 months ago. In Holland it’s not obligated to send a UBL invoice but it would be a nice feature if we can import and export UBL sale and purchase invoices.

> [@New UBL feature request](https://forum.manager.io/t/new-ubl-feature-request/11477/3):
>
> Hi Lubos, It seems like more and more accounting software are using the UBL format. If it´s unnecessary complex i don´t know but this would be a nice feature . Here you can find information about UBL [Universal Business Language - Wikipedia](https://en.wikipedia.org/wiki/Universal_Business_Language) and [What is UBL?](https://www.xml.com/articles/2017/01/01/what-is-ubl/)

---

<div class="post-metadata">

**Author:** ![Davide](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@Davide](https://forum.manager.io/u/Davide)\
**Post date:** [November 25, 2017, 9:29am UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/4 "2017-11-25T09:29:40Z")

</div>

Here in Italy all the invoices that has to be emitted to the public administration must be sent in XML format

---

<div class="post-metadata">

**Author:** ![BaldeSeca](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@BaldeSeca](https://forum.manager.io/u/BaldeSeca)\
**Post date:** [November 25, 2017, 11:20pm UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/5 "2017-11-25T23:20:29Z")

</div>

Yes there is an official notification that all business must emit invoices, credit/debit notes, receipts and other documents in XML format to be admitted as official and valid. Why the XML format ? I don’t know.

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [November 28, 2017, 9:50pm UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/6 "2017-11-28T21:50:21Z")

</div>

It’s not as easy since I imagine there is no worldwide standard for invoices in XML format so the implementation would have to be country-specific.

Theoretically you could write a theme which emits XML markup instead of HTML code. So it’s already possible with some effort.

---

<div class="post-metadata">

**Author:** ![BaldeSeca](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@BaldeSeca](https://forum.manager.io/u/BaldeSeca)\
**Post date:** [November 29, 2017, 9:00pm UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/7 "2017-11-29T21:00:29Z")

</div>

Thank you. I will have to study how to do that. I just need the same information included on Manager actual invoice.

I took the theme html and converted to XML and created a new theme but I guess is not a easy as that because it didn’t work!

---

<div class="post-metadata">

**Author:** ![Frankie](https://avatars.discourse-cdn.com/v4/letter/f/258eb7/32.png) [@Frankie](https://forum.manager.io/u/Frankie)\
**Post date:** [November 30, 2017, 7:27am UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/8 "2017-11-30T07:27:23Z")

</div>

Can you give us a small code example please.

---

<div class="post-metadata">

**Author:** ![Davide](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@Davide](https://forum.manager.io/u/Davide)\
**Post date:** [April 21, 2018, 5:52pm UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/9 "2018-04-21T17:52:25Z")

</div>

Can you please implement this feature? In Italy XML will be compulsory in less than one year

---

<div class="post-metadata">

**Author:** ![Davide](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@Davide](https://forum.manager.io/u/Davide)\
**Post date:** [April 23, 2018, 8:13am UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/10 "2018-04-23T08:13:57Z")

</div>

Dear @lubos ,

sorry for the reminder but since it will be compulsory to have invoices in xml in Italy in 2019 I have to take a quick decision if I can keep manager as our accounting software or I have to switch to a new one

---

<div class="post-metadata">

**Author:** ![Davide](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@Davide](https://forum.manager.io/u/Davide)\
**Post date:** [April 24, 2018, 5:38am UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/11 "2018-04-24T05:38:26Z")

</div>

@lubos [UE, via libera alla fattura elettronica: le tempistiche](https://quifinanza.it/soldi/via-libera-ue-arriva-la-fattura-elettronica/185434/)

---

<div class="post-metadata">

**Author:** ![BaldeSeca](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@BaldeSeca](https://forum.manager.io/u/BaldeSeca)\
**Post date:** [April 25, 2018, 5:20pm UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/12 "2018-04-25T17:20:08Z")

</div>

Why not give the option of a standard invoice with xml code and each of us can customize to country specifications. Basically the invoice has to contáis all the information that a standard invoice has.

---

<div class="post-metadata">

**Author:** ![Davide](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@Davide](https://forum.manager.io/u/Davide)\
**Post date:** [April 25, 2018, 5:29pm UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/13 "2018-04-25T17:29:47Z")

</div>

That’s a great idea. And we can share the customisations for each country on the website just like themes. As a second step, it would be great to have the same for every report, ie the VAT report and so on… I hope that @lubos will implement this very soon since in Italy it will become compulsory to have XML at the end of this year and I don’t want to switch to another software (and soon in the whole Europe too)

---

<div class="post-metadata">

**Author:** ![Davide](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@Davide](https://forum.manager.io/u/Davide)\
**Post date:** [April 27, 2018, 10:19pm UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/14 "2018-04-27T22:19:58Z")

</div>

Dear @lubos any news about it?

---

<div class="post-metadata">

**Author:** ![ShaneAU](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/shaneau/32/10122_2.png) [@ShaneAU](https://forum.manager.io/u/ShaneAU)\
**Post date:** [April 29, 2018, 8:05am UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/15 "2018-04-29T08:05:30Z")

</div>

@Davide - If you need XML formatted invoices, you could also use the API to pull out the information that you need and to generate an invoice.

Due to forum rules, I cannot recommend anyone in particular, but you could always search for a local developer to perform the task for you.

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [May 1, 2018, 3:15am UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/16 "2018-05-01T03:15:20Z")

</div>

@Davide, is there a format definition?

Technically speaking, Manager is already capable generating any document (not just invoices) in XML using custom themes. I mean custom themes are used for HTML but nothing stops you to output XML instead.

The only issue is that someone will have to write this custom theme but it can be done even without API.

---

<div class="post-metadata">

**Author:** ![Davide](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@Davide](https://forum.manager.io/u/Davide)\
**Post date:** [May 1, 2018, 7:48am UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/17 "2018-05-01T07:48:46Z")

</div>

@lubos I’m working on the theme. The only issue I have is to save it as a text file with .XML extension. Can you had this option? In an ideal world it should be a different theme and option in the invoice report

---

<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:11pm UTC](https://forum.manager.io/t/xml-format-in-invoices-and-other/12913/18 "2023-01-18T15:11:44Z")

</div>

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


