Skip to main content
Glama

create_invoice

Create a DRAFT invoice for a client; the server assigns the number (INV-YYYY-NNNN), computes taxes from the client's jurisdiction and rounds per invoice rules — never state amounts yourself. Lines need description, qty and unitPrice (decimal). Due date defaults to 14 days from today. Pass a stable requestId when retrying: the same requestId returns the same invoice instead of creating a duplicate. Use send_invoice to email it — do NOT send without the user's confirmation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "clientId": "<clientId>",
      "lines": "<lines>"
    },
    "name": "create_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesYes
notesNo
dueDateNoDefaults to today + dueInDays
clientIdYes
dueInDaysNo
issueDateNoDefaults to today
requestIdNoIdempotency key
depositPercentNoBooking deposit: this percent of the total is collected by the payment link now; the balance link follows after. Omit for no deposit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / depositPercent
      Added value: +{
      +  "description": "Booking deposit: this percent of the total is collected by the payment link now; the balance link follows after. Omit for no deposit.",
      +  "maximum": 100,
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources