Qonto-Rechnungsoriginal lesen
read_qonto_supplier_invoice_originalRead a live supplier-invoice original selected by supplierInvoiceId, invoiceNumber and createdMonth (Qonto upload month). For a bank transactionId/attachmentId pair use read_bank_transaction_attachment; for an archived documentId use read_accounting_source_evidence. fileIndex selects supplier file 0–2, default 0. These source identities are not interchangeable. Start at offset 0; maxBytes defaults to 49152 and is capped at 65536. Returns full-file SHA256 and bounded base64; later chunks require that expectedSha256. Existing organization, original-pointer lineage, current Operator grant, Accounting module and native provider invoice/attachment rights are rechecked. Missing or expired authority is a blocked result, not an empty file. No arbitrary URL, credentials, import, approval, matching, messages or payments.
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": {
"supplierInvoiceId": "<supplierInvoiceId>",
"invoiceNumber": "<invoiceNumber>",
"createdMonth": "<createdMonth>"
},
"name": "read_qonto_supplier_invoice_original"
}
}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. | |
| fileIndex | No | Zero-based original file index, 0–2; omit for the first file. | |
| createdMonth | Yes | Qonto upload month as YYYY-MM; narrows the existing supplier-invoice lookup, not the invoice issue month. | |
| invoiceNumber | Yes | Exact supplier invoice number bound to that existing invoice. | |
| expectedSha256 | No | Full-file lowercase SHA256 from the first read; required after offset 0 so a changed original is rejected. | |
| supplierInvoiceId | Yes | Exact UUID of the existing Qonto supplier invoice, not a bank transaction or accounting document ID. |