Download Attachment
download_attachmentDownload and READ a Rent Manager attachment by FileID.
Returns lease documents and other files attached to a record. PDFs are rendered page-by-page so their contents can be read, not just saved, including scanned signed leases.
FileIDs come from get_tenant_notes (leases are usually filed on tenant History/Notes), get_check_attachments / get_credit_card_attachments / get_journal_attachments (invoice scans filed on a payment or GL entry), get_tenant_udfs, or get_property_udfs. The parent-record arguments tenant_id, check_id, bill_id, credit_card_transaction_id and journal_id identify the record the file hangs off; they apply when the FileID did not come from a listing earlier in the same conversation.
Long documents are returned in page chunks (pages="1-40", then pages="41-80", and so on); the result says which pages came back and what range is available next.
``location`` (optional): a single Rent Manager Location ID. Required
when the connection has several Locations (see ``list_locations``);
this tool never fans out across Locations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| bill_id | No | ||
| file_id | No | ||
| save_as | No | ||
| check_id | No | ||
| location | No | ||
| as_images | No | ||
| max_pages | No | ||
| tenant_id | No | ||
| journal_id | No | ||
| credit_card_transaction_id | No |