@trajectonomics/cli 0.8.0-alpha.133 → 0.8.0-alpha.134

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +19 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -214,6 +214,25 @@ letters, digits or hyphens, is refused by name. A plan without a partner or with
214
214
  lists the `filers` when it has any, and the household's Owners are read each time the
215
215
  tax is written, so after changing them run `traj scenario tax <name> --from-stored`.
216
216
 
217
+ A couple who file separately get one Levy each. `--filing-status married_separate`
218
+ writes `th-2026-pit@me` and `th-2026-pit@partner`, one per person who has a labelled
219
+ Flow or Account, with the same Owner suffixes. Each Prepayment of the tax moves to the
220
+ Levy of its Flow's Owner (a Prepayment of a Levy of your own stays). A `shared` Flow's
221
+ Prepayment is split half to each, and its capped Prepayment stays whole on the holder's.
222
+ Each allowance flag takes a person (`--parents partner=2`) so each Return states its own
223
+ claims, a bare value names the holder, and each Return's children default to 0. A value
224
+ for someone with no income is refused, because no Return carries it. A Return claims at
225
+ most its own two parents. Each Return has its own home-loan interest ceiling; interest on
226
+ a loan borrowed together shares one 100,000 baht ceiling, which `traj` cannot tell from
227
+ two separate loans, so state each person's share yourself. When both claim interest and a
228
+ loan's Owner is `shared`, the result's `assumptions` say the loans are taken to be
229
+ separate. `--merge` and `--from-stored` keep the stored `returns`, and `--merge` to
230
+ `married_joint` keeps the partner's for a later switch back. The stored profile's
231
+ `claimsHolder` says whose claims its other keys are, so if the household swaps which
232
+ person is the holder, each person's claims stay theirs. A `projection run` then
233
+ reports a `filer` on each `taxYears` entry, `--carry-in` takes one record per Levy, and
234
+ `projection allowances` answers per Return.
235
+
217
236
  A Projection that starts inside a tax period also needs what that period had
218
237
  already taken: `--carry-in carry-in.json` states it, one record per Scenario,
219
238
  Levy and period, with a `"0.00"` for every class the period had no income in or
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trajectonomics/cli",
3
- "version": "0.8.0-alpha.133",
3
+ "version": "0.8.0-alpha.134",
4
4
  "description": "trajectonomics command line",
5
5
  "license": "MIT",
6
6
  "type": "module",