Difference between revisions of "H22 - Gross Pay (Payroll Report Generator variable)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
(Updated from revision control)
 
Line 33: Line 33:
 
::NI Earnings at the LEL (where earnings reach or exceed the LEL).
 
::NI Earnings at the LEL (where earnings reach or exceed the LEL).
 
:;2
 
:;2
::NI Earnings above the LEL, up to and including the UAP (Upper Accrual Point).
+
::NI Earnings above the LEL, up to and including the Secondary (Employer's) Threshold.
 
:;3
 
:;3
::NI Earnings above the UAP, up to and including the UEL.
+
::NI Earnings above the Secondary (Employer's) Threshold, up to and including the UEL.
 
:;4
 
:;4
 
::NI Earnings above the LEL, up to and including the Primary (Employee's) Threshold.
 
::NI Earnings above the LEL, up to and including the Primary (Employee's) Threshold.
 
:;5
 
:;5
::NI Earnings above the Primary (Employee's) Threshold, up to and including the UAP.
+
::NI Earnings above the Primary (Employee's) Threshold, up to and including the UEL.
  
 
== Returns ==
 
== Returns ==

Latest revision as of 06:50, 17 March 2020

Syntax

H22{T/N/P/E/G, H/Y, 0-5}

Description

Gross Pay. There are four categories of gross pay. These are Taxable, Ni'able, Pensionable, Banded or Total Gross Pay.

Parameters

T/N/P/E/G
A text parameter that can be omitted (it defaults to "T").
T
Taxable Gross Pay.
N
Ni'able Gross Pay. (Also NI Earnings).
P
Pensionable Gross Pay.
E
Employee Banded Gross = Pensionable Gross after banding has been applied.
G
Total Gross Pay = Gross Pay before Employee Pension contributions are deducted.
H/Y
A text parameter that can be omitted (it defaults to "H").
H
Historic (the value for this transaction).
Y
Year (the value for the payroll year including this transaction).
0-5
A text parameter that can be omitted (it defaults to "0").
When parameter T/N/P/E/G is 'N' this parameter determines which NI value to return.
0
NI'able gross pay.
1
NI Earnings at the LEL (where earnings reach or exceed the LEL).
2
NI Earnings above the LEL, up to and including the Secondary (Employer's) Threshold.
3
NI Earnings above the Secondary (Employer's) Threshold, up to and including the UEL.
4
NI Earnings above the LEL, up to and including the Primary (Employee's) Threshold.
5
NI Earnings above the Primary (Employee's) Threshold, up to and including the UEL.

Returns

A numeric value whose typical size is 4 digits plus 2 decimal places.