AI agents can now issue Serbia SEF eFaktura electronic invoices (elektronska faktura). This remote MCP server builds UBL 2.1 SRB-CIUS XML and uploads it to the national SEF eFaktura system (Ministry of Finance) under your own API key — three tools: create_invoice, query_invoice, cancel_invoice.
{
"mcpServers": {
"serbia-invoice": {
"type": "http",
"url": "https://inv-rs.wishpool.app/mcp",
"headers": {
"x-sef-api-key": "<your SEF API key>"
}
}
}
}
You generate the SEF API key yourself in the SEF portal under Settings → API management (Podešavanja → Upravljanje API). Requests default to the SEF demo rail; add x-sef-mode: prod for the live rail. The key stays with you — this server never stores it.
ApiKey header.x-agentpay-max-amount, x-agentpay-approval-above, x-agentpay-allowed-tools — set by the human owner in client config; the agent cannot relax them.Serbian VAT rates enumerated (20 / 10 / 0); SRB-CIUS defaults baked in (unit code C62, currency RSD, endpoint scheme 9948); every result embeds numbered next_steps; every error teaches the fix (PIB format = 9 digits, VAT rate, date format). Status values are spelled out: NEW / SENT / APPROVED / REJECTED / CANCELLED / STORNO.
You supply your own seller identity (supplier_pib + supplier_name) because SEF validates the seller in the XML against your API-key account. cancel_invoice withdraws an invoice only before the buyer accepts it; once APPROVED, a storno (credit) document is required — storno is out of scope in v1.
Local invoices, one family, same stateless pattern: Romania e-Factura (inv-ro), Mexico CFDI (inv-mx), Brazil NF-e (inv-br), Chile DTE (inv-cl), Peru CPE (inv-pe), India GST (inv-in). Local payments in 81 countries — mcp.wishpool.app.