For developers · the integration is free
Fiscalization from your server, without hardware
Tezga is a cloud ESIR that works with the Tax Administration's virtual processor of fiscal receipts (V-PFR). Your platform calls the REST API, we issue and fiscalize the receipt and return the PFR number, QR and PDF. There is no local installation, no device and no card readers.
- IB of the approved ESIR
- 1597IB of the approved ESIR
- no local hardware
- V-PFRno local hardware
- server-to-server
- RESTserver-to-server
- per API call
- RSD 0per API call
How it works, live
Your site, Tezga and the Tax Administration in one flow
The customer pays on your site, the fiscal receipt is created on its own.
- 1Customer → Your site
paid order
The customer completes the purchase on your site.
- 2Your site → Tezga
POST /order
- 3Tezga → Tax Admin (V-PFR)
receipt to sign
- 4Tax Admin (V-PFR) → Tezga
PFR number + QR
- 5Tezga → Your site
racun.fiskalizovan
- 6Tezga → Customer
PDF by email
What the API covers, for comparison
- REST API, server-to-server
- Sandbox and simulation
- Refunds
- Advance invoice
- Cancellation (storno)
- PDF, QR and verification URL
- Idempotency
- Webhook notifications
- Rate limit
- Fiscal receipt and e-invoice (SEF)
- Per-call pricing
Works with any stack: Next.js, Laravel, Node, PHP, Symfony, React, Vue, WordPress and headless stores.
Your first receipt
curl -X POST https://pos.narbiz.com/api/integrations/order?provider=custom \
-H "X-Tezga-Api-Key: tzg_…" \
-H "Content-Type: application/json" \
-d '{
"externalId": "NALOG-1042",
"tok": "fiskalni",
"nacinPlacanja": "Kartica",
"kupac": { "naziv": "Kupac", "email": "kupac@primer.rs" },
"stavke": [
{ "naziv": "Paket od 10 časova", "kolicina": 1, "cenaSaPdv": 24000 }
]
}'The response carries fiskalni.pfrBroj, brojacRacuna, verifikacioniUrl and javniPdfUrl, which works without signing in.
What it is used for
One API, the same call: the only difference is the flow you choose.
Advance receipts: several payments, one closing
A customer can pay upfront several times: the first payment opens an advance receipt, and each next one is tied to the same job (linked advances, under the Tax Administration's technical guide). When you deliver, one call with zatvori: true issues a refund of the advance and then the final receipt. If the refund does not go through, the final receipt is not issued, so duplicate turnover cannot occur.
Payments: works with everyone
Tezga fiscalizes after the payment is confirmed, so it does not depend on the payment provider. Card, IPS instant or cash: for the API it is the same call, only a different nacinPlacanja.
Payment providers
As soon as your system gets payment confirmation, it calls Tezga.
Banks and their card solutions
Banks' e-commerce services run through the providers above; Tezga does not care who collected the payment.
Wallets and instant
Apple Pay and Google Pay go through your provider; the IPS QR is built in.
Built-in NBS IPS QR: the customer scans and pays instantly
Every receipt, proforma and advance receipt carries an IPS QR to the NBS standard: the customer scans it in their bank app and pays instantly, with no payment reference to type. Statements import themselves. Each fiscal receipt also carries the Tax Administration's verification QR.
Doing vibecoding? Tezga is ready.
Tezga has an MCP connector: in claude.ai you add it as a custom connector (https://pos.narbiz.com/mcp), and in Claude Code, Cursor or Codex through mcp.json. The assistant issues test receipts, does cancellations and advances while you build. It works with Codex, Windsurf, Copilot and every MCP client; mobile apps call the same REST API from the backend.
Code and connectors
46 questions integrators send us most often
How it works
Is Tezga a cloud ESIR, with no local installation or hardware?
Is there a direct REST API, independent of the ready connectors?
How is a request authenticated?
Which operations does the API cover?
What do I get in the response when a receipt is issued?
Reliability
What happens when the Tax Administration's V-PFR is unavailable?
How is a duplicate receipt prevented?
Are there webhook notifications?
Is there a request rate limit?
Under which approval does Tezga operate?
Distance selling and tickets
What does the flow look like for distance selling, for example tickets?
I sell on behalf of an event organiser; how does that work with you?
How is a refund done for a cancelled ticket?
Does the customer have to get a paper receipt?
Security element and accounts
Is my security element used, or do you require a new one?
How do you handle several portals or several business premises?
What does testing before production look like?
How do I prevent a test from issuing a real receipt in my code?
How are tax rates handled if I am not in the VAT system?
Price and timelines
Which plan is required for direct API access?
Is there a contractual obligation or a notice period?
How long does the integration take?
What is on you, and what is on me?
Receipt data from the web shop and ERP
Is the whole receipt content sent, or only the total amount?
How do discounts and promo codes from the shop show on the fiscal receipt?
How are the 20 and 10 percent rates recorded when the cart is mixed?
Does the system recognise whether the customer is a private individual or a company?
Does a B2B receipt from the web shop also go to SEF, or does the ERP do that?
How does an advance invoice work when the customer pays by card up front?
Does a partial refund work, for example one of three items?
How is an order cancelled when the customer backs out, from the ERP or from the shop?
Receipt to the customer from the web shop
How does a web shop customer get the fiscal receipt?
Is the receipt a PDF attachment or only a verification link?
Can the email with the receipt carry my company name and details?
Scale, availability and connecting systems
How much load does the API take, and can it be raised?
What availability and monitoring do you have, when the shop runs non-stop?
Which e-commerce platforms do you already work with?
How do items from the ERP get into Tezga?
How many integrations may there be on one account?
Roles, data and updates
How are you billed: per API call, per receipt or a fixed fee?
What does support outside working hours look like?
Where is the data, and who sees the security element?
How many users are there, and what roles?
Who archives the fiscal receipts, and how long are they kept?
What happens when the Tax Administration changes the rules; does an update break the site?
Can I test the integration before I pay?
API documentation (PDF)
The complete guide with every call and examples. Updated 03.11.2026.. The integration is free.
