How to open a Turkish e-invoice (e-Fatura) XML file
The original of a Turkish e-invoice is an XML file. Double-click it and you see hard-to-read code, not an invoice. Why that is, and how to open it.
This program is not released yet. The article also covers the ways that work today.
Why the XML file does not look like an invoice
The original of a Turkish e-Fatura, e-Arşiv invoice or e-İrsaliye is an XML file in the UBL-TR format. The readable view of the invoice usually comes from an XSLT template embedded in the XML. A program that does not apply that template shows only the raw data.
Documents rarely come alone either: they sit inside a ZIP file or a so-called envelope, and the XML has to be reached first.
Ways to open it today
- The e-Fatura viewer of the Turkish Revenue Administration. It needs Java and opens files one at a time; it does not open ZIP files.
- The portal or program of the e-document service (integrator) used by the company that issued or received the invoice.
- The PDF copy sent with the document. That copy is a picture; the original document is the XML file.
What Kadran e-Belge will do
Kadran e-Belge is being built to do all this in one program. It will open every document inside ZIPs, envelopes or folders without Java, search them all, print them in bulk and export them to Excel. It will never go online; your documents will never leave your computer.
Kadran e-Belge has no tie to the Turkish Revenue Administration.