Compliance Calculate Built In Gain Sourcing
compliance_calculate_built_in_gain_sourcingCalculates U.S. versus Puerto Rico sourcing of capital gains under the 10-year residency rule from gain, marketability, and holding-period inputs. Use for built-in gain tax compliance.
Instructions
Calculate US vs PR capital gain sourcing under Treas. Reg. § 1.937-2(f) (10-year rule).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"is_marketable": "<is_marketable>",
"total_gain": "<total_gain>"
},
"name": "compliance_calculate_built_in_gain_sourcing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total_gain | Yes | ||
| is_marketable | Yes | ||
| adjusted_basis | No | ||
| total_days_held | No | ||
| days_held_as_resident | No | ||
| fmv_on_residency_date | No | ||
| years_since_residency | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||