v1
latestOpenAPI 3.0.02026-07-2422987517.5 KBTransaction
List transaction files
Lists the files attached to a transaction's documentation. The transaction is resolved from its accounting-ledger id, and both the concrete and STI base documentation records are searched so legacy attachments remain retrievable. Returns an empty array when no documentation exists.
get/v1/transactions/{transaction_id}/files
Path parameters
transaction_idstring uuid required
The Cardda accounting-ledger transaction id (accounting_ledger_tx_id). This is the same value exposed as id in the unified transactions list.
Headers
company-idstring uuid required
UUID of the company on whose behalf the request is made. Required for every Accounting endpoint. See The company-id header for details on how to obtain a value for this header and the error responses to expect when it is missing or invalid.
Response
Attached files with their blobs
Example response
[
{
"id": "b1f2c3d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"name": "files",
"record_type": "TransactionDocumentation",
"blob": {
"filename": "invoice-1234.pdf",
"content_type": "application/pdf",
"byte_size": 48213,
"service_name": "amazon"
}
}
]