A PDF preserves the look of a document. A structured e-invoice also passes on clearly labelled data. The file extension alone is not enough: what counts is the content and the applicable rules.
What is behind the names PDF and XML?
A PDF preserves the look of a page. It displays text, numbers and graphics in the layout the supplier prepared. It may contain selectable text, but it may also be just a scanned image. For a person, it is suitable for reading, sharing and printing.
XML describes data and its structure. A program can recognise the invoice number, the partner's identification or the amount by their labels. For an invoice, however, just any XML file is not enough. The data must correspond to an agreed structure and validation rules.
The Slovak eFaktúra is a standardised electronic document. The Financial Administration of the Slovak Republic (Finančná správa SR) explains why it cannot be confused with an ordinary PDF or a photo of a document.
The difference on a single invoice
Imagine a document with the number 2027/001, the currency EUR and the amount €1,240.00. In a PDF you see this data on the page. In a structured document the system also receives information about what each piece of data means.
| Question | Ordinary PDF invoice | Structured e-invoice |
|---|---|---|
| What does it store? | Mainly the visual form of the document | Data labelled according to the format's rules |
| How does a program get the amount? | By import, extraction or retyping | By reading the relevant data field |
| How is the structure checked? | It depends on the content and the processing method | By validation against the applicable rules |
| How do I read it? | In a PDF viewer | In an application that displays the data in readable form |
The snippet below only illustrates what structured data means. It is not a valid UBL invoice or a template for sending.
<example>
<number>2027/001</number>
<currency>EUR</currency>
<total>1240.00</total>
</example>
Can I create an e-invoice from a PDF?
Yes, but renaming the extension from .pdf to .xml will not help. You need to obtain the data and use it to create a document in the required format. If you have the original data in your invoicing software, first check its export options.
When extracting data from a PDF or a scan, these steps follow:
- Recognising the supplier, the customer, line items, dates and amounts.
- Checking the recognised data against the original document.
- Creating the structured document.
- Validation and, where needed, adding missing data.
Text extraction is an aid for transferring data. By itself, it does not confirm that the invoice is correct or that all requirements are met. For example, a wrongly recognised partner number can be syntactically correct and still belong to a different person.
Does this mean PDFs will lose their purpose?
A PDF can remain the readable form of a document or part of a work process. However, it should not be confused with the mandatory structured format in situations to which the new rules apply.
A readable display of XML can be provided by an application. The Financial Administration FAQ also deals with the visual form and a PDF attachment. So distinguish between the invoice data, its display and the method of delivery.
What should you check in your software?
Ask about the whole process you need to use:
- Can the program create a supported structured document?
- Can it read a received invoice, including its line items?
- Where will you see errors and how will you correct them?
- How is the document handed over to the accountant and stored in its original form?
- Who takes care of delivery and where can you find its result?
Think of the change as an adjustment to the flow of data, not just a new file to download. The Financial Administration, when explaining the impact on accounting, also distinguishes the unchanged accounting principles from the new method of transfer and processing.
If you want to know for which supplies a structured invoice will be mandatory, continue with the article eFaktúra legislation.
If you already have a source document in PDF, continue with the procedure for converting a PDF to eFaktúra. It distinguishes a document you issue yourself from the internal processing of someone else's invoice and shows what to check before using the XML.
Verified sources
We rely on official materials. You will find the original documents under the links below. When the rules change, we update this guide too.
Content verified 30/9/2026. In a specific tax case, the applicable wording of the law and the circumstances of the supply are decisive.