eFaktura & eOtpremnica
Connect to Serbia's SEF system for e-invoice and e-delivery note management.
Connect Stogly to the Serbian e-Invoice system (SEF — Sistem eFaktura) to automatically receive and manage electronic invoices and delivery notes.
Overview
Stogly integrates with the Serbian government's eFaktura system to:
- Automatically receive supplier invoices (eFaktura)
- Accept or reject invoices directly from the portal
- Send customer invoices to SEF
- Manage e-delivery notes (eOtpremnica) for goods movement tracking
- Auto-match received invoices against your purchase orders
- Auto-create POs when no matching order exists
Prerequisites
Before setting up the integration, you need:
- A SEF API key from the Ministry of Finance (efaktura.mfin.gov.rs)
- Your organization's PIB (tax identification number)
- A demo API key for testing (available from demoefaktura.mfin.gov.rs)
Setting Up the Connection
Step 1: Open SEF Settings
- Navigate to Settings > Organization Settings
- Click the eFaktura & eOtpremnica tab
Step 2: Configure Connection
- Environment: Select "Demo (Testing)" for initial setup, switch to "Production" when ready
- SEF API Key: Enter your API key from the SEF portal
- Organization PIB: Enter your company's tax ID
- Click Test Connection to verify the API key works
A green success badge confirms the connection is active.
Step 3: Configure Automation
| Setting | Description |
|---|---|
| Auto-poll for new invoices | Automatically check for new eFaktura invoices periodically |
| Polling interval | How often to check (5, 10, 15, or 30 minutes) |
| Auto-match received invoices | Automatically match received invoices against your purchase orders |
| Auto-create PO when no match | Create a purchase order if no matching PO exists |
Step 4: Save Settings
Click Save to activate the integration.
Receiving eFaktura Invoices
Automatic Polling
When polling is enabled, the system automatically checks for new invoices at your configured interval. New invoices appear in Procurement > Supplier Invoices with an "eFaktura" badge.
Manual Polling
To check for new invoices immediately:
- Go to Procurement > Supplier Invoices
- Or use the Poll Now button in SEF Settings
Invoice Source Indicators
Invoices in the list show their source:
- eFaktura (blue badge) — received from SEF
- PDF (gray badge) — imported from PDF file
- No badge — created manually
Accepting or Rejecting on SEF
For eFaktura-sourced invoices, you can accept or reject them directly:
- Open the invoice Match Details
- The SEF status badge shows the current state (Pending, Accepted, Rejected)
- Use Approve to accept on SEF
- Use Dispute to reject on SEF (with notes)
Sending Customer Invoices to SEF
For outbound invoices (to your B2B customers):
- Navigate to your customer invoice
- Click Send to eFaktura
- The system generates UBL 2.1 XML and submits it to SEF
- Track delivery status in the invoice details
E-Delivery Notes (eOtpremnica)
Viewing Delivery Notes
- Navigate to Procurement > E-Delivery Notes
- Filter by direction:
- Inbound — delivery notes from your suppliers
- Outbound — delivery notes you send to customers
Accepting/Rejecting Inbound Notes
For inbound delivery notes:
- Click the ✓ (Accept) or ✗ (Reject) button
- The response is sent to SEF automatically
Polling for New Delivery Notes
Click Poll to check for new delivery notes from the SEF system.
How Auto-Matching Works with eFaktura
When an eFaktura invoice is received:
- The system identifies the supplier by PIB (tax ID)
- Invoice items are matched against your products using supplier price list mappings
- If auto-match is enabled, the system automatically searches for matching POs
- If no PO exists and auto-create PO is enabled, a PO is created with status "Received"
Troubleshooting
| Issue | Solution |
|---|---|
| Connection test fails | Verify your API key is correct and the environment (demo/production) matches |
| Supplier not matched | Ensure the supplier's PIB is set in your supplier database |
| Products not matched | Set up supplier product name mappings in Supplier Price Lists |
| Polling not working | Check that polling is enabled and the interval is set |
Tips
- Start with demo environment — test the integration thoroughly before switching to production
- Set up supplier PIBs — the system matches suppliers by tax ID, so this must be configured
- Configure supplier price lists — product matching works best with explicit supplier product name mappings
- Enable auto-match — saves time by automatically linking invoices to POs
Need help? Contact support at support@stogly.com