bokio_download_credit_note
Download a published credit note as a PDF to a specified save path; returns the written file path and byte count.
Instructions
Download a published credit note as a PDF file to savePath. Returns the written path and byte count.
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": {
"creditNoteId": "<creditNoteId>",
"savePath": "<savePath>"
},
"name": "bokio_download_credit_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| savePath | Yes | File path inside BOKIO_DOWNLOAD_DIR, else the working directory; an existing file is never overwritten, so pick a new name. | |
| companyId | No | Bokio company id. Defaults to BOKIO_COMPANY_ID if omitted. | |
| creditNoteId | Yes | Id from bokio_list_credit_notes; an unknown id returns a not-found error. |