One uniform-basis original long stock lot sold fully at a loss plus original chr
One uniform-basis original long stock lot sold fully at a loss plus original chronological replacement purchases determines first-bought share matching in days1..30, deferred loss, matched/unmatched replacement sublot bases, adjusted bases and unmatched original loss. Conditional own arithmetic inspired by IRS Publication550, not actual tax eligibility, substantially-identical determination, allowed deduction, filing or legal advice.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://finops.halowerk.com/v1/post-sale-replacement-loss-basis-ledger
| Category | Market data |
|---|---|
| Provider host | finops.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"original_basis": 100,
"replacements": [
{
"cost_minor": 1,
"day": 1,
"shares_domain": [
1
]
}
],
"report": {
"adjusted_basis": [
{
"d": "3",
"n": "103"
}
],
"basis_increase_total": {
"d": "3",
"n": "100"
},
"deferred_loss": [
{
"d": "3",
"n": "100"
}
],
"deferred_total": {
"d": "3",
"n": "100"
},
"loss_conservation_gap": {
"d": "1",
"n": "0"
},
"matched_basis": [
{
"d": "3",
"n": "103"
}
],
"matched_shares": [
{
"d": "1",
"n": "1"
}
],
"matched_total": {
"d": "1",
"n": "1"
},
"remaining_sold_after": [
{
"d": "1",
"n": "2"
}
],
"sale_loss": {
"d": "1",
"n": "100"
},
"unmatched_basis": [
{
"d": "1",
"n": "0"
}
],
"unmatched_loss": {
"d": "3",
"n": "200"
},
"unmatched_shares": [
{
"d": "1",
"n": "0"
}
],
"unmatched_sold_total": {
"d": "1",
"n": "2"
}
},
"sale_proceeds": 0,
"sold_shares": 3
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"original_basis": {
"maximum": 1000000,
"minimum": 1,
"type": "integer"
},
"replacements": {
"items": {
"additionalProperties": false,
"properties": {
"cost_minor": {
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"day": {
"maximum": 60,
"minimum": 1,
"type": "integer"
},
"shares_domain": {
"items": {
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"maxItems": 2,
"minItems": 1,
"type": "array"
}
},
"required": [
"day",
"shares_domain",
"cost_minor"
],
"type": "object"
},
"maxItems": 6,
"minItems": 1,
"type": "array"
},
"report": {
"additionalProperties": {
"items": {
"additionalProperties": false,
"properties": {
"d": {
"maxLength": 64,
"pattern": "^[1-9][0-9]{0,63}$",
"type": [
"string",
"null"
]
},
"n": {
"maxLength": 64,
"pattern": "^(0|[1-9][0-9]{0,63})$",
"type": [
"string",
"null"
]
}
},
"required": [
"n",
"d"
],
"type": "object"
},
"maxItems": 6,
"minItems": 1,
"type": "array"
},
"patternProperties": {
"^(sale_loss|deferred_total|unmatched_loss|matched_total|unmatched_sold_total|basis_increase_total|loss_conservation_gap)$": {
"additionalProperties": false,
"properties": {
"d": {
"maxLength": 64,
"pattern": "^[1-9][0-9]{0,63}$",
"type": [
"string",
"null"
]
},
"n": {
"maxLength": 64,
"pattern": "^(0|[1-9][0-9]{0,63})$",
"type": [
"string",
"null"
]
}
},
"required": [
"n",
"d"
],
"type": "object"
}
},
"propertyNames": {
"enum": [
"matched_shares",
"unmatched_shares",
"deferred_loss",
"matched_basis",
"unmatched_basis",
"adjusted_basis",
"remaining_sold_after",
"sale_loss",
"deferred_total",
"unmatched_loss",
"matched_total",
"unmatched_sold_total",
"basis_increase_total",
"loss_conservation_gap"
]
},
"required": [
"matched_shares",
"unmatched_shares",
"deferred_loss",
"matched_basis",
"unmatched_basis",
"adjusted_basis",
"remaining_sold_after",
"sale_loss",
"deferred_total",
"unmatched_loss",
"matched_total",
"unmatched_sold_total",
"basis_increase_total",
"loss_conservation_gap"
],
"type": "object"
},
"sale_proceeds": {
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"sold_shares": {
"maximum": 1000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"sold_shares",
"original_basis",
"sale_proceeds",
"replacements",
"report"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}