flex_analyze_dividends
Summarize dividend income and withholding taxes from Interactive Brokers Flex XML, returning gross dividends, withheld tax, net dividends, and per-symbol details.
Instructions
Summarize dividend income and withholding taxes from cash transactions.
Args: xml_content: Raw Flex XML string.
Returns JSON with total gross dividends, total withholding tax, net dividends, and a per-symbol breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |