Skip to main content
Glama

SmartBill MCP by usefulapi

Server Details

Read SmartBill series, taxes, stock, clients and products; draft and issue invoices and estimates.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
Repository
m190/usefulapi-mcp
GitHub Stars
0

TDQS

Score is being calculated.

Available Tools

23 tools
smartbill_cancel_estimateCancel a proforma
Destructive
Inspect

Cancel an existing proforma (smartbill_restore_estimate undoes it). PUT /estimate/cancel.

ParametersJSON Schema
NameRequiredDescriptionDefault
numberYesProforma number as text.
series_nameYesProforma series name.
smartbill_cancel_invoiceCancel an invoice
Destructive
Inspect

Cancel an existing invoice (it stays in the books as cancelled; smartbill_restore_invoice undoes it). Changes the document's fiscal status, so confirm with the user. PUT /invoice/cancel.

ParametersJSON Schema
NameRequiredDescriptionDefault
numberYesDocument number as text, e.g. "0025" (keep leading zeros).
series_nameYesDocument series name exactly as configured in SmartBill Cloud (smartbill_list_series lists them).
smartbill_create_estimateCreate a proforma
Destructive
Inspect

Create a proforma (estimate) for a client with product/service lines. Default is a DRAFT (no number); with draft=false it takes the next number of the proforma series. A proforma is not a fiscal invoice. Returns series, number, documentId and links. POST /estimate/v2.

ParametersJSON Schema
NameRequiredDescriptionDefault
draftNoDefault TRUE: the document is saved as a draft without a number, to be finalized in SmartBill Cloud. Pass false ONLY when the user explicitly wants it ISSUED now: that takes the next number of the series, cannot be undone from the API, and may be transmitted to e-Factura / ANAF depending on the account setup.
clientYesThe client the document is issued to.
currencyNoDocument currency (default RON).
due_dateNoDue date yyyy-mm-dd.
languageNoDocument language (default RO).
mentionsNoMentions shown on the document.
productsYes1-200 lines.
issue_dateNoIssue date yyyy-mm-dd (default today).
series_nameYesDocument series name exactly as configured in SmartBill Cloud (smartbill_list_series lists them).
observationsNoObservations shown on the document.
exchange_rateNoExchange rate to RON (default: SmartBill's rate for the date).
smartbill_create_invoiceCreate an invoice
Destructive
Inspect

Create an invoice for a client with product/service lines. By default it is saved as a DRAFT (no number) for review in SmartBill Cloud. With draft=false the invoice is ISSUED: it takes the next number of the series, cannot be deleted or edited through this server, can only be cancelled or reversed (storno), and, depending on the account's e-Factura setup, may be transmitted to ANAF. Confirm every field with the user before draft=false. Returns series, number, documentId, documentUrl (needs login) and documentViewUrl (public PDF link). POST /invoice/v2.

ParametersJSON Schema
NameRequiredDescriptionDefault
draftNoDefault TRUE: the document is saved as a draft without a number, to be finalized in SmartBill Cloud. Pass false ONLY when the user explicitly wants it ISSUED now: that takes the next number of the series, cannot be undone from the API, and may be transmitted to e-Factura / ANAF depending on the account setup.
clientYesThe client the document is issued to.
currencyNoDocument currency (default RON).
due_dateNoDue date yyyy-mm-dd.
languageNoDocument language (default RO).
mentionsNoMentions shown on the document.
productsYes1-200 lines.
issue_dateNoIssue date yyyy-mm-dd (default today).
series_nameYesDocument series name exactly as configured in SmartBill Cloud (smartbill_list_series lists them).
observationsNoObservations shown on the document.
exchange_rateNoExchange rate to RON (default: SmartBill's rate for the date).
smartbill_create_invoice_from_estimateCreate an invoice from a proforma
Destructive
Inspect

Create an invoice from an existing proforma (client and lines are copied from it). Default is a DRAFT; with draft=false the invoice is ISSUED with the next number of the series and may be transmitted to e-Factura / ANAF. Stock is not discharged. POST /invoice/v2 (useEstimateDetails).

ParametersJSON Schema
NameRequiredDescriptionDefault
draftNoDefault TRUE: the document is saved as a draft without a number, to be finalized in SmartBill Cloud. Pass false ONLY when the user explicitly wants it ISSUED now: that takes the next number of the series, cannot be undone from the API, and may be transmitted to e-Factura / ANAF depending on the account setup.
issue_dateNoIssue date yyyy-mm-dd (default today).
series_nameYesInvoice series to issue on.
estimate_numberYesNumber of the source proforma as text.
estimate_seriesYesSeries of the source proforma.
smartbill_get_clientGet a client
Read-only
Inspect

One client by V3 id (cus_...): name, CIF, address, bank, contact, VAT-payer flag and delivery addresses. Needs the API V3 token. GET /v3/companies/{cif}/clients/{id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesThe client id (cus_...), from the list tool.
smartbill_get_estimate_invoicesGet invoices of a proforma
Read-only
Inspect

Whether a proforma was invoiced and the invoices (series, number) made from it. A draft invoice shows with an empty number. GET /estimate/invoices.

ParametersJSON Schema
NameRequiredDescriptionDefault
numberYesProforma number as text.
series_nameYesProforma series name.
smartbill_get_invoice_payment_statusGet invoice payment status
Read-only
Inspect

Whether an invoice is paid and how much remains: invoiceTotalAmount, paidAmount, unpaidAmount and the paid flag. GET /invoice/paymentstatus.

ParametersJSON Schema
NameRequiredDescriptionDefault
numberYesDocument number as text, e.g. "0025" (keep leading zeros).
series_nameYesDocument series name exactly as configured in SmartBill Cloud (smartbill_list_series lists them).
smartbill_get_productGet a product or service
Read-only
Inspect

One product or service by V3 id (prod_...). Needs the API V3 token. GET /v3/companies/{cif}/products/{id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesThe product id (prod_...), from the list tool.
smartbill_get_stockGet stock levels
Read-only
Inspect

Stock quantities per warehouse as of a date (needs the SmartBill stock module). Optional filters: warehouse_name (case-sensitive), product_name, product_code. No filters = all products in all warehouses. GET /stocks.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYesDate yyyy-mm-dd the stock is read at.
product_codeNo
product_nameNo
warehouse_nameNoWarehouse name, case-sensitive.
smartbill_get_supplierGet a supplier
Read-only
Inspect

One supplier by V3 id (sup_...). Needs the API V3 token. GET /v3/companies/{cif}/suppliers/{id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesThe supplier id (sup_...), from the list tool.
smartbill_list_clientsList or search clients
Read-only
Inspect

List clients from the SmartBill client list, optionally filtered by name (partial, case-insensitive), internal code (exact) or CIF (exact). Needs the API V3 token. Cursor paged: pass the reply's next_args as the next call's arguments. GET /v3/companies/{cif}/clients.

ParametersJSON Schema
NameRequiredDescriptionDefault
codeNoExact internal client code (case-sensitive).
nameNoPart of the client name.
afterNoCursor: continue after this id (use next_args from the previous reply). Not together with before.
limitNoResults per page, 1-100 (default 20).
beforeNoCursor: go back before this id (use previous_args). Not together with after.
vat_codeNoExact client CIF.
smartbill_list_productsList or search products and services
Read-only
Inspect

List the product and service catalog (price, unit, VAT rate, currency), optionally filtered by name (whole-word match) or internal code (exact). Needs the API V3 token. Cursor paged: pass the reply's next_args as the next call's arguments. GET /v3/companies/{cif}/products.

ParametersJSON Schema
NameRequiredDescriptionDefault
codeNoExact product code (case-sensitive).
nameNoA word of the product name.
afterNoCursor: continue after this id (use next_args from the previous reply). Not together with before.
limitNoResults per page, 1-100 (default 20).
beforeNoCursor: go back before this id (use previous_args). Not together with after.
smartbill_list_seriesList document series
Read-only
Inspect

List the document series configured in SmartBill Cloud with their next number. Invoice and proforma tools need a series name from here. type: f = invoice series, p = proforma, c = receipt (chitanta); omit for all. GET /series.

ParametersJSON Schema
NameRequiredDescriptionDefault
typeNof = invoices, p = proformas, c = receipts; omit for all.
smartbill_list_suppliersList or search suppliers
Read-only
Inspect

List suppliers, optionally filtered by name (partial), internal code (exact) or CIF (exact). Needs the API V3 token. Cursor paged: pass the reply's next_args as the next call's arguments. GET /v3/companies/{cif}/suppliers.

ParametersJSON Schema
NameRequiredDescriptionDefault
codeNoExact internal supplier code (case-sensitive).
nameNoPart of the supplier name.
afterNoCursor: continue after this id (use next_args from the previous reply). Not together with before.
limitNoResults per page, 1-100 (default 20).
beforeNoCursor: go back before this id (use previous_args). Not together with after.
vat_codeNoExact supplier CIF.
smartbill_list_taxesList VAT rates (V1)
Read-only
Inspect

List the VAT rates configured in the account (name and percentage). Use the name as tax_name and the percentage as tax_percentage on document lines. Works without a V3 token. GET /tax.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

smartbill_list_vat_ratesList VAT rates (V3)
Read-only
Inspect

List VAT rates with ids, name, percentage and reverse-charge flag. Filter by name (partial) or percentage (exact). Needs the API V3 token (smartbill_list_taxes does the same without it). Cursor paged: pass the reply's next_args as the next call's arguments. GET /v3/companies/{cif}/vat-rates.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNoPart of the VAT rate name.
afterNoCursor: continue after this id (use next_args from the previous reply). Not together with before.
limitNoResults per page, 1-100 (default 20).
beforeNoCursor: go back before this id (use previous_args). Not together with after.
percentageNoExact percentage.
smartbill_list_warehousesList warehouses
Read-only
Inspect

List warehouses (name, type en gros / en detail, keeper, address). Needs the API V3 token. Cursor paged: pass the reply's next_args as the next call's arguments. GET /v3/companies/{cif}/warehouses.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNoPart of the warehouse name.
afterNoCursor: continue after this id (use next_args from the previous reply). Not together with before.
limitNoResults per page, 1-100 (default 20).
beforeNoCursor: go back before this id (use previous_args). Not together with after.
smartbill_record_invoice_paymentRecord a payment against invoices
Destructive
Inspect

Record a collection (incasare) against one or more issued invoices; client and amount are taken from the invoices. With value (single invoice only) a partial payment is recorded. type Chitanta issues a numbered RECEIPT on receipt_series (cannot be undone from this server); the other types (Card, Ordin plata, ...) record the payment without a document. It changes the invoice's paid status in the books: confirm with the user. Fiscal receipts (Bon) are not supported. POST /payment.

ParametersJSON Schema
NameRequiredDescriptionDefault
textNoDescription of the payment.
typeYesPayment type. Chitanta = a numbered receipt (needs receipt_series); the others create no document.
valueNoPartial amount, for a single invoice only; omit to collect the invoice's full amount.
is_cashNoMark the collection as cash (typically for Chitanta).
invoicesYes1-20 invoices the payment is for.
issue_dateNoPayment date yyyy-mm-dd (default today).
receipt_seriesNoReceipt series; required for type Chitanta (smartbill_list_series with type c).
smartbill_restore_estimateRestore a cancelled proforma
Destructive
Inspect

Restore a proforma that was cancelled. PUT /estimate/restore.

ParametersJSON Schema
NameRequiredDescriptionDefault
numberYesProforma number as text.
series_nameYesProforma series name.
smartbill_restore_invoiceRestore a cancelled invoice
Destructive
Inspect

Restore an invoice that was cancelled, making it active again. PUT /invoice/restore.

ParametersJSON Schema
NameRequiredDescriptionDefault
numberYesDocument number as text, e.g. "0025" (keep leading zeros).
series_nameYesDocument series name exactly as configured in SmartBill Cloud (smartbill_list_series lists them).
smartbill_reverse_invoiceReverse an invoice (storno)
Destructive
Inspect

ISSUE a storno (credit) invoice that reverses an issued invoice. It takes the next number, an invoice can be reversed only once, and the storno cannot be undone; it may be transmitted to e-Factura / ANAF. Confirm the exact series and number with the user first. POST /invoice/reverse.

ParametersJSON Schema
NameRequiredDescriptionDefault
numberYesNumber of the invoice to reverse, as text.
issue_dateNoDate of the storno invoice yyyy-mm-dd (default today; not before the original's date).
series_nameYesSeries of the invoice to reverse.
smartbill_send_documentEmail an invoice or proforma
Destructive
Inspect

Send an issued invoice or proforma by email from SmartBill. This EMAILS A THIRD PARTY and cannot be recalled. Without to it goes to the client's email on the document; without subject/body_text the account's email template is used. Confirm the recipient with the user first. POST /document/send.

ParametersJSON Schema
NameRequiredDescriptionDefault
ccNoCC addresses, comma separated.
toNoRecipient (default: the client's email on the document).
bccNoBCC addresses, comma separated.
typeYesfactura = invoice, proforma = proforma.
numberYesDocument number as text, e.g. "0025" (keep leading zeros).
subjectNoEmail subject, plain text (default: the account template).
body_textNoEmail body, plain text (default: the account template).
series_nameYesDocument series name exactly as configured in SmartBill Cloud (smartbill_list_series lists them).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 23 tool updates
    • First observedsmartbill_cancel_estimate
    • First observedsmartbill_cancel_invoice
    • First observedsmartbill_create_estimate
    • First observedsmartbill_create_invoice
    • First observedsmartbill_create_invoice_from_estimate
    • First observedsmartbill_get_client
    • First observedsmartbill_get_estimate_invoices
    • First observedsmartbill_get_invoice_payment_status
    • First observedsmartbill_get_product
    • First observedsmartbill_get_stock
    • First observedsmartbill_get_supplier
    • First observedsmartbill_list_clients
    • First observedsmartbill_list_products
    • First observedsmartbill_list_series
    • First observedsmartbill_list_suppliers
    • First observedsmartbill_list_taxes
    • First observedsmartbill_list_vat_rates
    • First observedsmartbill_list_warehouses
    • First observedsmartbill_record_invoice_payment
    • First observedsmartbill_restore_estimate
    • First observedsmartbill_restore_invoice
    • First observedsmartbill_reverse_invoice
    • First observedsmartbill_send_document

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    An MCP server for the SmartBill Cloud API. It lets an MCP client issue and manage Romanian invoices, proformas and payments, download document PDFs, and read VAT rates, series and stock levels.
    23
    2
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables read-only querying of Invoice4U accounting data, including documents, customers, branches, tax rates, and Israeli invoice allocation statuses.
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    Enables AI assistants to manage invoices, clients, companies, and ANAF e-Factura through the Storno.ro e-invoicing API.
    367
    108 npm
    Elastic 2.0
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.