oblio-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CIF | No | Default company CIF. Can also be set at runtime via the set_cif tool | |
| OBLIO_API_EMAIL | Yes | Your Oblio account email | |
| OBLIO_API_SECRET | Yes | API secret from Oblio > Setari > Date Cont |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_documentA | Creates an invoice (factura), proforma, or delivery notice (aviz) in Oblio via POST /api/docs/{type}. Required fields: cif, client (with at least name), seriesName, issueDate, and at least one product. Optional: inline payment via collect, reference to existing proforma/notice via referenceDocument, stock deduction via useStock, auto e-Factura submission via spvExtern, and idempotencyKey to prevent duplicates. Returns: seriesName, number, and a link to view/download the created document. |
| get_documentA | Retrieves a single document from Oblio via GET /api/docs/{type}. Returns: documentType, seriesName, number, link (view/download URL), and collects array (list of payments with issueDate, type, number, value). |
| delete_documentA | Permanently deletes a document from Oblio via DELETE /api/docs/{type}. Constraint: only the last document in a series can be deleted. This cannot be undone. Set deleteCollect to true to also remove the associated payment (invoices only). Returns: documentType, seriesName, number of the deleted document. |
| cancel_documentA | Cancels (annuls) a document in Oblio via PUT /api/docs/{type}/cancel. The document is marked as void but remains in the system. Returns: documentType, seriesName, number, and link to the cancelled document. |
| restore_documentA | Restores a previously cancelled document in Oblio via PUT /api/docs/{type}/restore. Reverses a cancellation and makes the document active again. Returns: documentType, seriesName, number, and link to the restored document. |
| get_nomenclaturesA | Fetches reference/lookup data from Oblio via GET /api/nomenclature/{type}. Types and their returns:
|
| collect_paymentA | Records a payment (incasare) against an existing invoice via PUT /api/docs/invoice/collect. Identifies the invoice by seriesName + number. The collect object specifies payment method (type), document number, optional value (defaults to full invoice total), and optional issueDate. Available payment types: Chitanta, Bon fiscal, Bon fiscal card, Alta incasare numerar, Ordin de plata, Mandat postal, Card, CEC, Bilet ordin, Alta incasare banca, Ramburs. Returns: documentType, seriesName, number, link, and collects array with all payments on the invoice. |
| list_documentsA | Lists documents from Oblio via GET /api/docs/{type}/list with filters and pagination. Each result contains: id, draft, canceled, seriesName, number, issueDate, dueDate, precision, currency, exchangeRate, total, collected (0=unpaid, 1=paid), mentions, useStock, type, link, einvoiceStatus (text, sent, code), and client object (clientId, cif, name, rc, code, address, etc.). Optionally include product lines (withProducts=1), payment details (withCollects=1), or e-Invoice SPV status (withEinvoiceStatus=1). Max 100 results per page. |
| create_einvoiceA | Submits an existing invoice to Romania's SPV system via POST /api/docs/einvoice. The invoice must already exist in Oblio. Returns: text (explanation), sent (boolean), code (-1=not sent, 2=errors, 0=processing, 1=success). |
| get_einvoice_archiveA | Downloads the e-Invoice archive (XML) from Romania's SPV system via GET /api/docs/einvoice. The invoice must have been previously submitted to SPV. Returns the SPV archive data for the specified invoice. |
| set_cifA | Sets the company CIF (Cod de Identificare Fiscala / tax ID) used for all subsequent Oblio API requests. Must be called before other tools if the CIF environment variable is not configured. The CIF identifies which company's data to access (e.g. RO37311090). |
| get_cifA | Returns the currently configured company CIF (tax ID) used for Oblio API requests. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| createInvoice | Generate an invoice in Oblio with client details, a product, price and quantity. |
| createProforma | Generate a proforma document in Oblio with client details, a product, price and quantity. |
| createNotice | Generate a delivery notice (aviz) in Oblio with client details, a product, price and quantity. |
| getInvoice | Retrieve an invoice by series name and number. |
| getProforma | Retrieve a proforma by series name and number. |
| getNotice | Retrieve a delivery notice (aviz) by series name and number. |
| cancelInvoice | Cancel (annul) an invoice. The document is marked as void but not deleted. |
| cancelProforma | Cancel (annul) a proforma document. |
| cancelNotice | Cancel (annul) a delivery notice. |
| restoreInvoice | Restore a previously cancelled invoice, making it active again. |
| restoreProforma | Restore a previously cancelled proforma document. |
| restoreNotice | Restore a previously cancelled delivery notice. |
| deleteInvoice | Permanently delete the last invoice in a series. This cannot be undone. |
| deleteProforma | Permanently delete the last proforma in a series. This cannot be undone. |
| deleteNotice | Permanently delete the last delivery notice in a series. This cannot be undone. |
| getProductsNomenclature | Look up products/services in the Oblio nomenclature by name or code. |
| getClientsNomenclature | Look up clients in the Oblio nomenclature by name or CIF. |
| getVatRatesNomenclature | List all VAT rates configured for your company in Oblio. |
| getCompaniesNomenclature | List all companies linked to the Oblio account. |
| getDocumentSeriesNomenclature | List all document series (invoice, proforma, notice) configured for your company. |
| getLanguagesNomenclature | List foreign languages configured for your company in Oblio. |
| getManagementNomenclature | List stock management locations (gestiuni) configured for your company. Only works if stock is enabled. |
| collectPayment | Record a payment against an existing invoice. |
| getInvoiceList | Search and list invoices with various filters (date range, client, status, etc.). |
| sendInvoiceToSpv | Submit an invoice to Romania's SPV system to create an e-Factura. |
| getEinvoiceFromSpv | Download the e-Invoice archive from SPV for a specific invoice. |
| setCif | Configure the company CIF (tax ID) for all subsequent API requests. |
| getCif | Check which company CIF is currently configured. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/valentinludu/oblio-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server