create_invoice
ActiveTool of FavCRM
declared in 1.0.0
Create a new invoice for a customer. Optionally include line items inline. Returns the new invoiceId.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId"
],
"properties": {
"notes": {
"type": "string",
"description": "Free-form notes shown on the invoice"
},
"dueDate": {
"type": "string",
"description": "Due date (ISO 8601 date)"
},
"currency": {
"type": "string",
"description": "ISO currency code (defaults to company default)"
},
"accountId": {
"type": "string",
"description": "Customer accountId (CRM account)"
},
"lineItems": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"unitPrice"
],
"properties": {
"quantity": {
"type": "number",
"description": "Quantity (default 1)"
},
"unitPrice": {
"type": "string",
"description": "Unit price as decimal string, e.g. \"100.00\""
},
"description": {
"type": "string",
"description": "Line item description"
}
}
},
"description": "Line items to bill — totals are computed server-side"
}
}
}Parent server
FavCRM
https://github.com/favcrm/mcp
1/7 registries