Stavka

SEF step by step: eUprava, registering your business and the API key

A guide for anyone who has not used the System of Electronic Invoices (SEF, Sistem elektronskih faktura) before: what you need to log in, how to register your business, where to create the API key and how to enter it in Stavka so invoices go to SEF in one click.

By Boris Tarana, author of Stavka · last checked 26 September 2026

Certificate or ConsentIDto log in through eUprava
Legal representativeregisters the business (for a sole proprietor, you)
API menadžmentthe place on SEF where the key is created
15 daysdeadline to accept or reject an incoming e-invoice

Before you start: do you need SEF?

A flat-rate entrepreneur outside VAT is not required to use SEF, unless they invoice the public sector (a school, municipality, public enterprise…). Once you register, you must use SEF in the current and the next calendar year: you issue e-invoices to all clients who are on SEF, and you receive e-invoices that others send you. In detail: E-invoices (SEF): obligations of a flat-rate entrepreneur.

VAT payers are on SEF by obligation. If you are already registered (e.g. because of incoming invoices), skip to step 3.

What you need

Only the legal representative registered in APR can register a business on SEF for the first time. For a sole proprietor that is you personally. Your accountant cannot do it for you, but you can add them as a user afterwards.

Steps 1 and 2: log in to SEF and register your business

  1. Open efaktura.mfin.gov.rs and click Prijavi se (Log in). The portal sends you to eID (eUprava).
  2. Choose how to log in: qualified electronic certificate (ID card in the reader, then PIN) or ConsentID (confirmation in the app on your phone).
  3. After your identity is confirmed, on your first login the entity registration opens. For the entity type choose Preduzetnik (sole proprietor) and enter your registration number.
  4. SEF checks the data in APR and creates your business account. From that day you are a SEF user. Stavka will later see this by itself on the public list of users.

Want your accountant to have access to SEF as well? On SEF: Podešavanja → Korisnici → Dodaj novog korisnika (Settings → Users → Add new user), enter their email, choose a role (e.g. Standardni korisnik, standard user, or view only) and click Pošalji poziv (Send invitation).

Step 3: create and activate the API key

The API key is the "password" Stavka uses to send and receive invoices on behalf of your business. It is created by a user with the administrator role (the legal representative is one).

  1. On SEF, open Podešavanja (Settings).
  2. Choose API menadžment (API management; some versions of the portal say API upravljanje).
  3. If there is no key yet, click Generiši ključ (Generate key).
  4. Switch API status to Aktivno (Active). Without this, SEF rejects the key even though it has been created.
  5. Copy the value from the Ključ za autentifikaciju (Authentication key) field, using the copy button next to the field.
Whoever has the key can send and receive invoices on behalf of your business. Do not send it by email or message: paste it directly into Stavka. If you think it has leaked, generate a new key on SEF, and in Stavka click Replace key.

Step 4: enter the key in Stavka

On the web:

  1. The menu with your name (top right) → My companies → click your company.
  2. In the SEF — e-invoicing system section, paste the key into the SEF API key field.
  3. Environment: Production (real SEF).
  4. Click Save and verify. Stavka immediately asks SEF whether the key is valid. When it says Key saved · verified, you are done.

On an Android phone: Account → My companies → your company → the SEF — e-invoicing system section → paste the key, choose Production and tap Save and verify.

The key is stored encrypted, and once saved nobody can read it: not you, not us. The Test connection button checks at any time whether SEF still accepts the key.

While you are there, check that the company has a postal code and a bank account: SEF requires them on every invoice.

Step 5: your first invoice through SEF

  1. On the Invoices page, in the invoice row: menu ⋮ → Send to SEF.
  2. Stavka checks the invoice and the client and tells you what is missing. Most often SEF requires the invoice date to be today: click Set today's date (the transaction date stays).
  3. When it says The invoice is ready for SEF, click Send to SEF. Stavka sets category SS and code PDV-RS-33 for a flat-rate entrepreneur by itself.

After sending, the status refreshes by itself (Sent → Accepted or Rejected), and a notification arrives when the client decides. A sent invoice can no longer be edited or deleted. If it is wrong, use Reverse on SEF and create a new one.

Public sector: in the invoice form click Check client on SEF. Stavka offers the JBKJS (the public funds user number); also enter the contract or purchase order number.

Do not forget: incoming e-invoices

From the moment you register, others (Telekom, EPS, suppliers…) send you invoices through SEF, and you must accept or reject each one within 15 days. Once the key is entered, Stavka pulls them in every hour by itself: Menu → Incoming e-invoices, filter Awaiting decision, then Accept or Reject (with a reason). When the deadline is close, you get an email reminder, and an accepted invoice becomes an expense by itself.

SEF does not track payments: "Accepted" means you agree with the invoice, and you pay it as before, through your bank.

Want to try it first? Demo SEF

The Ministry also runs a test SEF at demoefaktura.mfin.gov.rs. You log in the same way and create a separate API key there, and in Stavka you choose the Demo (test SEF) environment. Invoices from the demo SEF do not reach real clients and have no legal effect. When you finish testing, click Replace key in Stavka and enter the key from the real SEF, with the Production environment.

Common problems

Frequently asked questions

Where on SEF do I create the API key?

Podešavanja (Settings) → API menadžment → Generiši ključ (Generate key), then switch API status to Aktivno (Active) and copy the "Ključ za autentifikaciju" (Authentication key).

Can I log in to SEF without a card reader?

Yes, with the ConsentID mobile app, which you activate with the parameters you get with your ID card.

Can my accountant register my business on SEF?

No. The first registration is done by the legal representative registered in APR; for a sole proprietor that is you. You add your accountant as a user afterwards under Podešavanja → Korisnici (Settings → Users).

Does Stavka see my API key?

The key is stored encrypted and used only to communicate with SEF; once saved, nobody can read it.

What if I generate a new key on SEF?

The old one stops working. In Stavka, under My companies, click Replace key and enter the new one.

Sources

The sources are official Serbian pages and regulations, in Serbian.