{"slug":"finops-halowerk-com-v1-post-sale-replacement-loss-basis-ledg-46f092","title":"One uniform-basis original long stock lot sold fully at a loss plus original chr","host":"finops.halowerk.com","method":"POST","resource":"https://finops.halowerk.com/v1/post-sale-replacement-loss-basis-ledger","category":"market","description":"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 insp","price_listed":0.003,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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"},"output_schema":{"$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"},"history":[],"description_full":"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.","last_updated":"2026-11-24T10:31:01.518Z","schemes":["exact"]}