Estimate a dividend history
estimate_dividendsEstimate the reclaimable withholding tax for a whole dividend history in one call: send either a broker export as csv_text with its broker id, or a list of payments (ISIN, payment_date YYYY-MM-DD, gross_amount, currency, optional withheld_amount), max 500. Returns each payment with its source country, treaty rate, reclaimable amount in the residence currency, form and deadline, plus totals per source country. A payment whose source country cannot be resolved is returned as unresolved with no amount; withheld_is_estimated marks a withholding figure estimated from the statutory rate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| broker | No | One of: avanza, bux, degiro, etoro, freetrade, ibkr, ibkr_flex, nordnet, rabobank, revolut, saxo, schwab, swissquote, trade_republic, trading212, xtb, or generic (needs column_map) | |
| csv_text | No | Broker export as text | |
| payments | No | ||
| column_map | No | generic only: target field -> CSV column (asset_name, payment_date, gross_amount, ...) | |
| residence_country | Yes | ISO alpha-2 | |
| residence_currency | No | ISO 4217 | EUR |