Bankoriginal lesen
read_bank_transaction_attachmentRead a live bank attachment selected by its transactionId + attachmentId from list_bank_transaction_attachments. For an archived catalog documentId use read_accounting_source_evidence; for a supplierInvoiceId use read_qonto_supplier_invoice_original. These selectors are not interchangeable. Start at offset 0, maxBytes default 49152 and maximum 65536. The response includes full-file SHA256 and a bounded base64 chunk; retain that expectedSha256 for every later offset. A changed file, missing attachment or revoked right fails closed, never an empty original. Current OAuth, Accounting module, workspace, native Qonto account and credential authority are checked across the read. This fetches bytes only; no archive, import, matching, payment, message or policy change.
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": {
"transactionId": "<transactionId>",
"attachmentId": "<attachmentId>"
},
"name": "read_bank_transaction_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Zero-based byte offset, default 0. Later chunks require the full-file expectedSha256 returned by the first read. | |
| maxBytes | No | Maximum bytes in this base64 chunk, 1–65536; default 49152. | |
| attachmentId | Yes | Exact attachmentId returned for this transaction by list_bank_transaction_attachments. | |
| transactionId | Yes | Existing native Qonto bank transaction ID in this workspace, not a supplier invoice or accounting document ID. | |
| expectedSha256 | No | Full-file lowercase SHA256 from the first read; required after offset 0 so a changed original is rejected. |