Skip to main content
Glama

SmartBill MCP by usefulapi

Create an invoice

smartbill_create_invoice
Destructive

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.

Input Schema

TableJSON 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).

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.