get_abaninja_quote_pdf
Export an AbaNinja quote (Offerte) — or an invoice with document: 'invoice' — as PDF and file it as a CallPilotAI document. quote: the quote number (e.g. 'OF0001') or its uuid. Optional entity + entity_id (e.g. lead, account, asbest_project) to attach the document to a record. Returns document_id (pass it to send_email as attachments to mail it), a download link valid 24 h, file name and size. Changes nothing in AbaNinja; the same unchanged quote is filed only once.
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": {
"quote": "<quote>"
},
"name": "get_abaninja_quote_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | Yes | Quote/invoice number (e.g. OF0001) or uuid. | |
| entity | No | Optional record type to attach to (lead, account, contact, asbest_project, …). | |
| document | No | Document type to export: quote (default) or invoice | quote |
| entity_id | No | Id of that record — required together with entity. |