Skip to main content
Glama

Oblio MCP by usefulapi

Issue an invoice (fiscal, irreversible)

oblio_issue_invoice
Destructive

ISSUE a real INVOICE. This is a legal fiscal document: it takes the next number in the series at once, there is no draft state, it cannot be edited, and it can only be cancelled afterwards (it may also be sent to ANAF e-Factura / SPV, automatically if the account is set up so). Needs confirm: true, an idempotency_key, and the user's explicit approval of the exact client, lines, totals and series. Optionally base it on a proforma or notice (reference_document), record the payment at once (collect) or set the delivery date. Not retried: if the reply is an error, look in Oblio before repeating. Oblio never e-mails the client from this tool. POST /api/docs/invoice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cifYesCIF of YOUR company in Oblio (from oblio_list_companies), for example RO37311090.
clientNoThe client. Required unless reference_document is given (then Oblio takes it from the referenced document).
collectNoRecord the payment together with the invoice.
confirmNoMust be true. Set it only after the user has confirmed this exact action in this conversation.
currencyNoDocument currency (default "RON").
due_dateNoDue date yyyy-mm-dd.
languageNoDocument language code from oblio_list_languages (default "RO").
mentionsNoMentions printed on the document.
productsNo1-200 lines: products/services (name + price) or discounts (name + discount). Required unless reference_document is given.
precisionNoDecimals, 2 to 4 (default 2).
use_stockNoTake the goods out of stock (only with stock enabled).
issue_dateNoIssue date yyyy-mm-dd (default today).
issuer_nameNoPrepared by (intocmit de).
series_nameYesDocument series name (from oblio_list_series), for example FCT.
collect_dateNoCollection date yyyy-mm-dd.
order_numberNoOrder number (BT-13).
work_stationNoWork point (only with stock enabled; default "Sediu").
delivery_dateNoDelivery date yyyy-mm-dd.
exchange_rateNoExchange rate for a foreign-currency document (default: the company's setting).
internal_noteNoInternal note, not visible to the client.
idempotency_keyYesREQUIRED unique key for this invoice (for example a UUID) so Oblio drops a duplicate of the same request.
reference_documentNoBase the invoice on a proforma or notice, or reverse an invoice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.