romania-invoice

Let AI agents submit Romanian e-Factura invoices (UBL 2.1 CIUS-RO) to the ANAF national system.

Community: Submitted by a user or imported; check the owner before granting accessOnlineNo sign-inGlobalFreeRead-only

What it can do

  • Create Invoice: Issue a Romania B2B electronic invoice (factura electronica) into the national e-Factura system (ANAF/SPV). Builds UBL 2.1 XML in the CIUS-RO customization (Romania's CIUS of EN 16931)
  • Query Invoice: Check the ANAF processing status of an invoice uploaded by create_invoice, using its index_incarcare. e-Factura processing is asynchronous. Status values: PROCESSING (ANAF stare "in pre
  • Download Invoice Result: Download the ANAF response archive (ZIP) for a processed invoice, using the download_id (id_descarcare) that query_invoice returns once status is ACCEPTED or REJECTED. For ACC

What data it sees

Do you need an account

No: the server works without sign-in

Let AI agents submit Romanian e-Factura invoices (UBL 2.1 CIUS-RO) to the ANAF national system. Stateless remote MCP server: bring your own OAuth bearer, it stores nothing. Build, upload, and track invoices with VAT math and XML generation built in.

How to connect

How to connect romania-invoice to Claude

The server address to paste into Claude settings:

https://romania-invoice--wishpool.run.tools

  1. Open Claude (claude.ai or the desktop app).
  2. Go to Settings → Connectors.
  3. Click Add custom connector.
  4. Paste the server address copied below into Remote MCP server URL and click Add.
  5. In a chat, click + → Connectors and switch the new connector on.

Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.

Authorization

After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.

How to connect romania-invoice to ChatGPT

The server address to paste into ChatGPT settings:

https://romania-invoice--wishpool.run.tools

  1. Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
  2. Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
  3. Open Settings → Connectors and click Create.
  4. Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
  5. Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
  6. In a new chat open + → Apps/Connectors and enable the connector.

OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.

Authorization

On first use ChatGPT opens the service's sign-in window. Sign in and approve access.

How to connect romania-invoice to Cursor

The server address to paste into Cursor settings:

https://romania-invoice--wishpool.run.tools

Fastest: click Open in Cursor below and confirm the prompt.

Manually:

  1. In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
  2. Paste the JSON copied below into ~/.cursor/mcp.json (per project: .cursor/mcp.json in the repo root).
  3. Save the file. The server appears in the MCP list; authorize it there if asked.

Authorization

If the service needs sign-in, an authorize button appears next to the server in the MCP list.

Server tool list (3)

Raw names from tools/list. Only developers need these.

create_invoiceIssue a Romania B2B electronic invoice (factura electronica) into the national e-Factura system (ANAF/SPV). Builds UBL 2.1 XML in the CIUS-RO customization (Romania's CIUS of EN 16931) and uploads it under your own ANAF access token. Bring your own credentials as headers: x-anaf-token (Bearer access token from your one-time ANAF OAuth with a qualified digital certificate; the cert never reaches this server), x-anaf-cif (your supplier fiscal code / CIF, RO prefix optional). Header x-anaf-mode: production switches to the live rail (default = test, no fiscal effect). Upload is asynchronous: this returns index_incarcare (an upload index) — poll query_invoice with it to learn if ANAF ACCEPTED or REJECTED the invoice. Romanian VAT rates: 19 (standard), 9 and 5 (reduced), 0 (zero-rated). Amounts are in RON.
query_invoiceCheck the ANAF processing status of an invoice uploaded by create_invoice, using its index_incarcare. e-Factura processing is asynchronous. Status values: PROCESSING (ANAF stare "in prelucrare" — not finished, poll again shortly); ACCEPTED (stare "ok" — the invoice is registered; download_invoice_result fetches the official ANAF-signed XML using download_id); REJECTED (stare "nok" — validation failed; download_invoice_result fetches the error report XML using download_id). Safe to call anytime.
download_invoice_resultDownload the ANAF response archive (ZIP) for a processed invoice, using the download_id (id_descarcare) that query_invoice returns once status is ACCEPTED or REJECTED. For ACCEPTED invoices the ZIP contains the official ANAF-signed UBL XML (your legal proof); for REJECTED invoices it contains an XML error report listing the CIUS-RO validation failures. Returns the ZIP base64-encoded. Safe to call anytime.