adp

Salary calculator.

class deltona.adp.SalaryResponse(federal: float, fica: float, fuckery: float, gross: float, medicare: float, net_pay: float, state: float)

Bases: object

Response from the Symmetry API.

federal : float

Federal tax amount.

fica : float

FICA tax amount.

fuckery : float

Difference between gross and net pay.

gross : float

Gross pay amount.

medicare : float

Medicare tax amount.

net_pay : float

Net pay amount.

state : float

State tax amount.

async deltona.adp.calculate_salary(*, hours: int = 70, pay_rate: float = 70.0, state: INCITS38Code = 'FL') SalaryResponse

Calculate a US salary using the Symmetry API.

Parameters:
hours : int

The number of hours worked. Default is 70.

pay_rate : float

The pay rate per hour. Default is 70.0.

state : INCITS38Code

The state code. Default is ‘FL’.

Returns:

The response from the Symmetry API.

Return type:

SalaryResponse