---
title: "Leave and Earnings Statement (LES) net pay"
method: GET
path: "/api/v1/calculate/les-decoder"
---

# Leave and Earnings Statement (LES) net pay

`GET /api/v1/calculate/les-decoder`

## Request

- Base URL: `https://everycalc.xyz`
- URL: `https://everycalc.xyz/api/v1/calculate/les-decoder`
- Auth: none declared

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. Results match the interactive calculator at everycalc.xyz; every response includes a calculator_url deep link to it.

## Query parameters

- `base_pay` number
- `bah` number
- `bas` number
- `other_entitlements` number
- `federal_tax` number
- `fica` number
- `state_tax` number
- `sgli` number
- `tsp` number
- `other_deductions` number

## Response `200`

Calculation result.

## Other responses

- `400`: Invalid input.

---

[API](https://skmtc.dev/everycalc/apis/everycalc-api.md) · [All operations](https://skmtc.dev/everycalc/apis/everycalc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/everycalc/apis/everycalc-api/revisions/a4bd5db0868a?raw)
