Skip to main content
Glama

SmartBill MCP by usefulapi

Create an invoice from a proforma

smartbill_create_invoice_from_estimate
Destructive

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

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

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.