All the parameters it'll be explained by sections.
The default REQUEST BODY for software auth to retrieve their access token to use the the Collegia APIs.
| Parameter | Type | Description | Required | Inside of |
| software | JSON object | This object is the default object for request body, inside of it all the necessary information for authentication can be found. The parameters will be described below. | TRUE | - |
| Parameter | Type | Description | Required | Inside of |
| api_secret | string | Your API secret provided to auth inside the Collegia application to perform operations for your software. | TRUE | software |
| api_id | string | Your API ID provided to auth inside the Collegia application to perform operations for your software. | TRUE | software |
The default REQUEST BODY.
to put companies under your software relation.
.
Keep in mind that you need to follow the
Companies House API
- the
company_number
must be the same.
| Parameter | Type | Description | Required | Inside of |
software
|
JSON Object |
This object is the default object for request body, inside of it all the necessary information to be sent to our services can be found. This is the default request body key identifier. Obs: it's a json object, NOT A JSON ARRAY. |
TRUE | - |
| companies |
array
|
This object is the default object for request body, inside of it all the necessary information for authentication can be found. The parameters will be described below. |
TRUE | software |
| admins |
json array
|
All the companies need one or more persons to administrate the same (the one(s) to use the Collegia Employers Dashboard). This is not a optional parameter, need be filled at least one valid admin. |
FALSE | companies |
The companies JSON object request body with inner parameters explained in
details.
| Parameter | Type | Description | Required | Inside of |
| company_number |
string | integer
|
The software number in accordance to the Companies House API. The company number has eight characters, if the input has less than that, zeros will be added to the left of the number for compliance. |
TRUE | companies |
| admins |
array | json
|
You need provide at least a one company admin user. All the admins need the following parameters:
|
TRUE | companies |
| billing_type |
string
|
You need provide the billing type for the company, for now Collegia system only support pull operations for billing operations. | TRUE | companies |
| primary_email |
string
|
You need to provide a company primary email.
Warning.
|
TRUE | companies |
| callback_url |
string
|
In case of the company has been added on Collegia system wants to use the Collegia UI to
complete the setup and wants to be redirect for somewhere in web environment
you can provide a
Disclaimer: all the operation of adding companies is responsibility of the
third party software whose is adding it. Collegia is not responsible of wrong operation.
|
TRUE | companies |
| terms_accepted |
boolean
|
By the default the
If you set upt the parameter to true you need to provide a valid |
FALSE | companies |
| paymentInfo |
json
|
Auto setup employer into our Collegia system, the table bellow will explain
all the necessary parameters to be filled to Collegia, remember to fill up a
valid Always communicate and be sure the company's that you'll add on Collegia system acknowledge before do the operation.
Warning: all the process communications needs to have an valid
|
FALSE | companies |
| setup |
string
|
The way you want to setup the new employer, could be |
FALSE | companies |
| is_employer_under_bureau |
boolean
|
Identifies if the company is part of a bureau advisor. The default value is false. |
FALSE | companies |
| advisor_email |
string
|
Identifies the email of the responsible advisor bureau. |
FALSE | companies |
The admins JSON object request body with inner parameters explained in details.
| Parameter | Type | Description | Required | Inside of |
| forename |
string (255)
|
Name of the admin, need to be valid name with maximum 255 characters. |
TRUE | admins |
| middle_name |
string (255)
|
Middle name of the admin,maximum 255 characters. |
FALSE | admins |
| surname |
string (255)
|
Surname of the admin, need to be valid name with maximum 255 characters. |
TRUE | admins |
| nickname |
string (255)
|
If the person want's to be identified by a nickname. |
FALSE | admins |
email (255)
|
Valid e-mail must be provided for admin(s) can be logged into the Collegia employer dashboard.
Important information:
Disclaimer: the third party software is the responsible for adding the new admin(s) on the Collegia system. In any case of wrong information the third party software IS NOT ALLOWED to edit / erase any information for admin. Once the admin is added on Collegia System the admin as person is the responsible for they own account. |
TRUE | admins |
The default REQUEST BODY
to create contributions for your employees.
Keep in mind that you need to follow the
Companies House API
–
company_number
must be the same.
| Parameter | Type | Description | Required | Inside of |
papdis
|
JSON ARRAY
|
This object is the default object for request body, inside of it all the necessary information for sending data to our services is provided. This is the default request body key identifier. |
TRUE
|
- |
employees
|
array
|
This object is the default object for request body, inside of it all the necessary information for authentication is provided. The parameters are described next. |
TRUE
|
papdis |
The JSON object request body with inner parameters explained in detail.
| Parameter | Type | Description | Required | Inside of |
company_number
|
string | integer
|
The company number according to the Companies House API. |
TRUE
|
papdis |
group
|
string
|
Pension sub-identifier.
|
FALSE
|
employees |
subgroup
|
string
|
Pension subgroup-identifier.
|
FALSE
|
employees |
payroll_start_date
|
Date string (YYYY-MM-DD)
|
The start date of the period in which the payroll is run. NB: You may want to use the pay_reference_start_date, as this is likely to match what has been used in the output Date Null or Valid Date (YYYY-MM-DD) - Cannot be more that 30 days in the future (warning). |
TRUE
|
employees |
payroll_end_date
|
Date string (YYYY-MM-DD)
|
The end date of the period in which the payroll is ended. As this is likely to match what has been used in the output Date. Valid Date (YYYY-MM-DD). |
TRUE
|
employees |
contribution_deduction_date
|
Date string (YYYY-MM-DD)
|
The end date of the period in which the payroll is deducted. As this is likely to match what has been used in the output Date . Valid Date (YYYY-MM-DD). |
TRUE
|
employees |
frequency_code
|
string
|
Frequency of the payroll period covered by the submission
Alpha Numeric String.
Must be one of:
|
TRUE
|
employees |
tax_period
|
int
|
Tax period of the contribution deduction Number. If Monthly it will be in the range 01 to 12 for a monthly tax schedule, or in the range 01 to 56 (but not 55) for a weekly tax schedule. |
TRUE
|
employees |
title
|
string
|
The employee title (eg. Mrs., Mr., Dr. and etc...) |
TRUE
|
employees |
forename1
|
string
|
The employee first name, it's required. |
TRUE
|
employees |
forename2
|
string
|
The employee middle name is not required, but it is better to add if you have this information. |
FALSE
|
employees |
surname
|
string
|
The employee last name, it's required. |
TRUE
|
employees |
current_gender
|
string
|
Current gender, there are 3 possibilities:
|
TRUE
|
employees |
employment_start_date
|
Date string (YYYY-MM-DD)
|
Date joined employment date. Valid Date (YYYY-MM-DD). |
TRUE
|
employees |
exit_date
|
Date string (YYYY-MM-DD) | NULL
|
The date the employee leaves / exits the scheme.
Must be used in conjunction with the ExitReasonCode.
Must be populated when ExitReasonCode is non null.
Where it is populated the following rules apply:
|
FALSE
|
employees |
exit_reason_code
|
integer
|
The reason for which the employee is no longer a member of the Pension Scheme.
NB: should not be used for AE Opt-outs.
|
FALSE
|
employees |
assessment_code
|
integer
|
An indicator that identifies whether a worker has been assessed or not. If they have been,
this gives the outcome of the assessment.
Must be used in conjunction with the event_code.
See the assessment_code & event_code matrix here.
Must be one of:
|
TRUE
|
employees |
event_code
|
integer
|
An indicator that identifies the action that has occurred.
Must be used in conjunction with the assessment_code.
See the AssessmentCode & EventCode matrix here.
Must be one of:
|
TRUE
|
employees |
event_date
|
Date (YYYY-MM-DD) | NULL
|
Indicates the date of the action provided in the event_code.
Valid Date (YYYY-MM-DD).
Must be populated if event_code is not 0..
Must be populated if the employee meets one of the following conditions:
|
FALSE
|
employees |
deferreal_date
|
Date (YYYY-MM-DD) | NULL
|
Day after the Postponement End Date.
Must be provided if postponement is being used. Date NULL or
Valid Date (YYYY-MM-DD)
|
FALSE
|
employees |
ae_opt_out_date
|
Date (YYYY-MM-DD) | NULL
|
This is the Date a valid AE Opt-out notification was received within the AE opt out period.
Must not be used for ceased scheme membership while remaining in active service.
Date Null or Valid Date (YYYY-MM-DD).
If populated:
|
FALSE
|
employees |
enrolment_communications_issued_date
|
Date (YYYY-MM-DD) | NULL
|
Date on which enrolment communications were issued to confirm that enrolment was achieved.
Date (YYYY-MM-DD) | NULL
|
FALSE
|
employees |
employer_contributions_amount
|
float
|
Amount of employer pension contribution in pounds and pence.
If contribution made under salary sacrifice, then the total contribution amount should be
in this field.
|
TRUE
|
employees |
employee_contributions_amount
|
float
|
Amount of employee pension contribution in pounds and pence. If contribution made under salary sacrifice, then this field be 0.00. Up to 2 digits after the decimal. |
TRUE
|
employees |
additional_voluntary_contributions_amount
|
float
|
Amount of employee additional voluntary pension contribution in pounds and pence. A zero amount should be entered as 0.00. If contribution made under salary sacrifice, then this field be null or 0.00. Number Up to 2 digits after the decimal. |
FALSE
|
employees |
additional_voluntary_contributions_percent
|
float
|
The percentage of the employees Additional Voluntary Contributions. Number: Up to 3 digits after the decimal. |
FALSE
|
employees |
pensionable_earnings_amount
|
float
|
The amount of pensionable pay used to calculate the pension contributions. A zero amount should be entered as 0.00. Number: Up to 2 digits after the decimal. Must be positive or zero. |
FALSE
|
employees |
employer_contributions_percent
|
float
|
The percentage contributions used to calculate employer contributions. In case of salary sacrifice this field does not need to be affected. It can be either only the employer contributions percent or the sum of employer and employee contributions.
|
FALSE
|
employees |
employee_contributions_percent
|
float
|
The percentage contributions used to calculate employee contributions. In case of salary sacrifice this field does not need to be affected. It can be either only the employee contributions percent or the sum of employer and employee contributions.
|
FALSE
|
employees |
salary_sacrifice_indicator
|
int
|
We assume by default that it is not salary sacrifice.
If any value is not provided we'll assume automatically it's |
FALSE
|
employees |
total_gross_qualifying_earnings_amount
|
float
|
The (non-banded) earnings used for worker assessment under the automatic enrolment legislation to determine whether the worker is an Eligible Jobholder, Non-Eligible Jobholder or Entitled Worker. A zero amount should be entered as 0.00. Number: up to 2 digits after the decimal. |
FALSE
|
employees |
worker_exclusion_code
|
int
|
The reason why the Worker is excluded from Assessment.
Refer to the Exclusion Code list here.
|
FALSE
|
employees |
statutory_letter_code
|
string
|
Unique identifier representing a unique Letter template to be used by the recipient
for Worker communications.
Refer to the Statutory Letter Code list here.
|
FALSE
|
employees |
is_individual_already_member_of_qps
|
boolean
|
Used to indicate if the Worker is already a member of a Qualifying Pension Scheme.
|
FALSE
|
employees |
reenrolment_indicator
|
boolean
|
Used to indicate whether the worker Assessment can be left until the cyclical re-enrolment date.
'true' indicates that the worker can be left not assessed until cyclical re-enrolment date.
BLANK or 'false' indicate the opposite.
|
FALSE
|
employees |
secondary_email_address
|
string | null
|
A 2nd email address for the Worker. Alpha Numeric with Symbols String Valid Email Address. |
FALSE
|
employees |
cyclical_reenrolment_date
|
date (YYYY-MM-DD) | null
|
The date on which all Workers must be assessed for automatic re-enrolment by the Employer.
|
FALSE
|
employees |
message_function_code
|
int | null
|
Specifies the business function that the sender is requesting.
If left BLANK it will be assumed to be 0 (Enrol / Receive Contributions).
Must be one of:
|
FALSE
|
employees |
pay_reference_start_date
|
date | null
|
Pay Reference Period start date.
pay_reference_end_date.
Must match the day that follows the pay_reference_end_date
of the last successful or partially successful submission.
|
FALSE
|
employees |
pay_reference_end_date
|
date | null
|
Pay Reference Period end date.
pay_reference_start_date.
In conjunction, the PayReferenceStartDate and PayReferenceEndDate, must match the
length of the CollectionFrequency for the applicable ContributionGroup of the scheme.
|
FALSE
|
employees |
opt_out_window_end_date
|
date | null
|
The last day of the one calendar month statutory opt-out window.
The Opt-out window does not start until both of the following have occurred:
|
FALSE
|
employees |
is_member_an_overseas_national_awaiting_an_nin_number
|
Boolean | null
|
Indicates whether an employee is an overseas national waiting for their National Insurance number to be issued.
Must be populated if
If it's not provided it'll be set up to |
FALSE
|
employees |
job_title
|
string (70) | null
|
Employee's job title
|
FALSE
|
employees |
nationality
|
string | null
|
Employee's nationality
|
FALSE
|
employees |
country
|
string (70)
|
Employee's country of residence for address purposes
Observation: United Kingdom is |
TRUE
|
employees |
email
|
string
|
Employee main address.
Note: this is a required attribute since our mailing to the employee will be
addressed to this e-mail. Please be extra careful and
check that there are no misspellings.
DISCLAIMER: all the email and |
TRUE
|
employees |
birthdate
|
date (YYYY-MM-DD)
|
Employee date of birth. |
TRUE
|
employees |
national_insurance_number
|
string
|
Employee national insurance number (NIN); this is mandatory in order to process the contributions information of the employee. |
TRUE
|
employees |
postal_code
|
string
|
Valid country postal code. |
TRUE
|
employees |
address1
|
string | null
|
Primary address. |
TRUE
|
employees |
address2
|
string | null
|
Secondary address. |
TRUE
|
employees |
address3
|
string | null
|
Other address. |
FALSE
|
employees |
address4
|
string | null
|
State / Province if applicable. |
FALSE
|
employees |
mobile
|
string
|
Employee mobile number |
TRUE
|
employees |
employee_id
|
string | null
|
In case of the employee still does not have a valid
Observation: Try to provide an authentic unique employee id.
Your next submission must use the same |
If national_insurance_number is null or false the parameter is
mandatory
(so it's TRUE) otherwise FALSE.
|
employees |
| assessment_code | event_code | Description |
| 0 – Excluded | 0 – Not an enrolment event | An individual who has not and does not need to be assessed and who is either already a member of a scheme or who is not a member of any scheme. |
| 0 – Excluded | 1 – Automatic enrolment / re-enrolment | Not applicable – event_code should be disregarded. |
| 0 – Excluded | 2 – Enrolled | Not applicable – event_code should be disregarded. |
| 0 – Excluded | 3 – Voluntary Joiner/Joiner | A voluntary joiner who has not and does not need to be assessed (for example, an excluded worker, a company director or a pre-staging company employee). |
| 0 – Excluded | 4 – Contractual Enrolment | Either a worker pre-staging or an excluded worker (for example. an overseas resident) who is contractually enrolled. |
| 1 – Eligible Jobholder | 0 – Not an enrolment event | An eligible jobholder being contractually enrolled and either: has previously Opted-out or ceased membership, but only needs to be assessed on re-enrolment, or is under a period of postponement. |
| 1 – Eligible Jobholder | 1 – Automatic enrolment / re-enrolment | An eligible jobholder being automatically enrolled or re-enrolled. |
| 1 – Eligible Jobholder | 2 – Enrolled | An eligible jobholder who has elected to Enrolled to an Automatic Enrolment scheme and either: has previously Opted-out or ceased membership, but only needs to be assessed on re-enrolment, or is under a period of postponement. |
| 1 – Eligible Jobholder | 3 – Voluntary Joiner/Joiner | An eligible jobholder who has agreed to join a different level scheme instead of the default automatic enrolment scheme. |
| 1 – Eligible Jobholder | 4 – Contractual Enrolment | An eligible jobholder being contractually enrolled and either: has previously Opted-out or ceased membership, but only needs to be assessed on re-enrolment, or is under a period of postponement. |
| 2 – Non-eligible Jobholder | 0 – Not an enrolment event | A Non-eligible jobholder, whether in postponement or not, until a future assessment deems them an Eligible Jobholder, an Entitled Worker or an excluded worker. They may or may not already be a member of a pension scheme. |
| 2 – Non-eligible Jobholder | 1 – Automatic enrolment / re-enrolment | A Non-eligible jobholder being immediately re-enrolled (for example they are/were a member of a pension scheme which has become non-qualifying and so they are being enrolled into a new AE scheme). |
| 2 – Non-eligible Jobholder | 2 – Enrolled | A Non-eligible jobholder who has elected to Enrolled to an Automatic Enrolment scheme, whether in postponement or not. |
| 2 – Non-eligible Jobholder | 3 – Voluntary Joiner/Joiner | A Non-eligible jobholder who has elected to join a different level scheme instead of the default automatic enrolment scheme. |
| 2 – Non-eligible Jobholder | 4 – Contractual Enrolment | A Non-eligible jobholder being contractually enrolled. |
| 3 – Entitled Worker | 0 – Not an enrolment event | An Entitled Worker, until an assessment deems them an Eligible Jobholder, Non-eligible Jobholder or an excluded worker. They may or may not already be a member of a pension scheme. |
| 3 – Entitled Worker | 1 – Automatic enrolment / re-enrolment | Not applicable – event_code should be disregarded. |
| 3 – Entitled Worker | 2 – Enrolled | Not applicable – event_code should be disregarded. A worker who requests to join or Enrolled, who is then assessed as an Entitled Worker is deemed to have made a request to Join a pension scheme (which does not have to be a qualifying or AE scheme, although the employer is free to allow this if they wish) – and so event_code 3 should be used for this. |
| 3 – Entitled Worker | 3 – Voluntary Joiner/Joiner | An Entitled Worker who requests to join a pension scheme (see meaning of Enrolled for an Entitled Worker above). |
| 3 – Entitled Worker | 4 – Contractual Enrolment | An Entitled Worker being contractually enrolled. |
| Blank | 0 – Not an enrolment event | An individual who is either already a member of a scheme or who is not a member of any scheme – where no worker category has been provided or is unknown. |
| Blank | 1 – Automatic enrolment / re-enrolment | An eligible jobholder being automatically enrolled/re-enrolled or a Non-eligible jobholder being immediately re- enrolled. |
| Blank | 2 – Enrolled | A jobholder (eligible or non-eligible) who has elected to Enrolled to an Automatic Enrolment scheme, whether in postponement or not. |
| Blank | 3 – Voluntary Joiner/Joiner | A voluntary joiner of unknown worker category. |
| Blank | 4 – Contractual Enrolment | An individual of unknown worker category being contractually enrolled. |