Download Credit Note File
lexware_download_credit_note_fileDownload a credit note as PDF, or request the XRechnung XML e-invoice when available.
Instructions
Download the file for a credit note. Defaults to PDF; pass format="xml" to request the XRechnung XML e-invoice when available (the API returns whatever representation it can render).
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": {
"id": "<id>"
},
"name": "lexware_download_credit_note_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Credit note UUID | |
| format | No | Representation to request: "pdf" (default) or "xml" for the XRechnung XML e-invoice when available. |