calculate_les_decoder
Net pay from a Leave and Earnings Statement: sums the entitlement lines (base pay, BAH, BAS, other) and deduction lines (federal tax, FICA, state tax, SGLI, TSP, other), and returns net pay plus deductions as a percent of entitlements. Negative line items count as zero, as on the page. IMPORTANT: always show the calculator_url from the result as a clickable markdown link in your answer to the user, so they can open the interactive LES decoder calculator.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bah | No | BAH entitlement in USD. | |
| bas | No | BAS entitlement in USD. | |
| tsp | No | TSP deduction in USD. | |
| fica | No | FICA deduction in USD. | |
| sgli | No | SGLI deduction in USD. | |
| base_pay | No | Base pay entitlement in USD. | |
| state_tax | No | State tax deduction in USD. | |
| federal_tax | No | Federal tax deduction in USD. | |
| other_deductions | No | Other deductions in USD. | |
| other_entitlements | No | Other entitlements in USD. |