Read one Codal letter
cd_letterReads one Codal.ir letter to return its text or structured tables, along with links to the page, PDF, Excel file, and attachments.
Instructions
Read one codal.ir letter: its text or tables, plus links to its page, PDF, Excel and attachments.
Use it after cd_search_letters to see what a letter says. Structured reports (financial statements, monthly
activity reports) come back as tables, one line per row with cells separated by ' | ' (amounts as on the
site, usually million Rial; see unit_note). Financial statements show one sheet at a time: sheets lists
them (income statement, balance sheet, cash flows ...); call again with sheet to read another. Other letters
come back as text. attachments are files the company attached (often the real content of an explanation
letter). Long letters are cut at 16,000 characters (truncated); the PDF link has the full letter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | For financial statements with several sheets: the `sheet` id from the `sheets` list of a previous call, e.g. 0 for the balance sheet. Omit for the first sheet. | |
| tracing_no | Yes | Tracing number (شماره پیگیری) from cd_search_letters, e.g. 1612323. |