import type * as Merge from "../../../index"; /** * # The Deduction Object * ### Description * The `Deduction` object is used to represent an array of the wages withheld from total earnings for the purpose of paying taxes. * * ### Usage Example * Fetch from the `LIST Deductions` endpoint and filter by `ID` to show all deductions. */ export interface Deduction { id?: string; /** The third-party API ID of the matching object. */ remoteId?: string; /** The datetime that this object was created by Merge. */ createdAt?: Date; /** The datetime that this object was modified by Merge. */ modifiedAt?: Date; employeePayrollRun?: string; /** The deduction's name. */ name?: string; /** The amount of money that is withheld from an employee's gross pay by the employee. */ employeeDeduction?: number; /** The amount of money that is withheld on behalf of an employee by the company. */ companyDeduction?: number; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; }