gmz.dev / docs / SiteTax logic
Internal notes on NJ sales tax classification.
not legal or tax advice; for internal consistency only.

SiteTax logic

SiteTax provides a simple classification layer to determine whether a job in New Jersey should be treated as taxable repair work or a non-taxable capital improvement. This document captures the current assumptions and rule structure.

Important disclaimers

Inputs

Outputs

Basic decision rules

Condensed logic:

if jobType == "repair":
    classification = "taxable"
    reason = "Marked as repair. Repairs are taxable."

elif improvementType in ["new_structure", "add_square_footage", "finish_basement"]:
    if hasCapitalCertificate:
        classification = "non_taxable_capital"
        reason = "Qualifies as capital improvement with certificate."
    else:
        classification = "taxable"
        reason = "Likely capital improvement but no certificate provided."

else:
    classification = "taxable"
    reason = "Not clearly capital improvement; defaulting to taxable."

Relationship to other tools

UI expectations

Known gaps / future considerations

Update this doc whenever rules or assumptions change.