UNPKG

xero-node

Version:

Xero NodeJS OAuth 2.0 client for xero-node

114 lines (113 loc) 3.6 kB
import { DeductionLine } from '././deductionLine'; import { EarningsLine } from '././earningsLine'; import { GrossEarningsHistory } from '././grossEarningsHistory'; import { LeaveAccrualLine } from '././leaveAccrualLine'; import { LeaveEarningsLine } from '././leaveEarningsLine'; import { PaymentLine } from '././paymentLine'; import { ReimbursementLine } from '././reimbursementLine'; import { StatutoryDeductionLine } from '././statutoryDeductionLine'; import { SuperannuationLine } from '././superannuationLine'; import { TaxLine } from '././taxLine'; import { TaxSettings } from '././taxSettings'; import { TimesheetEarningsLine } from '././timesheetEarningsLine'; export declare class PaySlip { /** * The Xero identifier for a PaySlip */ 'paySlipID'?: string; /** * The Xero identifier for payroll employee */ 'employeeID'?: string; /** * The Xero identifier for the associated payrun */ 'payRunID'?: string; /** * The date payslip was last updated */ 'lastEdited'?: string; /** * Employee first name */ 'firstName'?: string; /** * Employee last name */ 'lastName'?: string; /** * Total earnings before any deductions. Same as gross earnings for NZ. */ 'totalEarnings'?: number; /** * Total earnings before any deductions. Same as total earnings for NZ. */ 'grossEarnings'?: number; /** * The employee net pay */ 'totalPay'?: number; /** * The employer\'s tax obligation */ 'totalEmployerTaxes'?: number; /** * The part of an employee\'s earnings that is deducted for tax purposes */ 'totalEmployeeTaxes'?: number; /** * Total amount subtracted from an employee\'s earnings to reach total pay */ 'totalDeductions'?: number; /** * Total reimbursements are nontaxable payments to an employee used to repay out-of-pocket expenses when the person incurs those expenses through employment */ 'totalReimbursements'?: number; /** * Total amounts required by law to subtract from the employee\'s earnings */ 'totalStatutoryDeductions'?: number; /** * Benefits (also called fringe benefits, perquisites or perks) are various non-earnings compensations provided to employees in addition to their normal earnings or salaries */ 'totalSuperannuation'?: number; /** * BACS Service User Number */ 'bacsHash'?: string; /** * The payment method code */ 'paymentMethod'?: PaySlip.PaymentMethodEnum; 'earningsLines'?: Array<EarningsLine>; 'leaveEarningsLines'?: Array<LeaveEarningsLine>; 'timesheetEarningsLines'?: Array<TimesheetEarningsLine>; 'deductionLines'?: Array<DeductionLine>; 'reimbursementLines'?: Array<ReimbursementLine>; 'leaveAccrualLines'?: Array<LeaveAccrualLine>; 'superannuationLines'?: Array<SuperannuationLine>; 'paymentLines'?: Array<PaymentLine>; 'employeeTaxLines'?: Array<TaxLine>; 'employerTaxLines'?: Array<TaxLine>; 'statutoryDeductionLines'?: Array<StatutoryDeductionLine>; 'taxSettings'?: TaxSettings; 'grossEarningsHistory'?: GrossEarningsHistory; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace PaySlip { enum PaymentMethodEnum { Cheque, Electronically, Manual } }