Create document (raw payload)
banana_create_document_rawCreate accounting documents with custom fileType and data by posting a raw JSON body to the Banana API. Bypasses the standard tool when exact control is needed.
Instructions
Escape hatch for the Send Data API: POST a raw request body to /v2/doc. The body must match Banana's expected shape: { fileType: {...}, data: }. Use banana_create_document for the common cases.
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": {
"body": "<body>"
},
"name": "banana_create_document_raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Raw JSON body: { fileType, data } where data is a DocumentChange object. | |
| show | No | Append ?show to open the file in Banana. |