Skip to main content

Workers v1

https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema

Workers.v1 Import Layout

AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Cannot be instantiatedYesUnknown statusUnknown identifiabilityForbiddenAllowednoneworkers.v1.schema.json

Workers.v1 Type

object[]

Workers.v1 Definitions

Definitions group BankDetails

Reference this group by using

{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema#/definitions/BankDetails"}
PropertyTypeRequiredNullableDefined by
BankSortCodestringOptionalcan be nullWorkers v1
BankAccountNumberstringOptionalcan be nullWorkers v1
BankAccountNamestringOptionalcan be nullWorkers v1
IBANstringOptionalcan be nullWorkers v1
BICstringOptionalcan be nullWorkers v1

BankSortCode

A record with this Bank Sort Code must already exist in the system ('BACS' Only)

BankSortCode

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BankSortCode Type

string

BankSortCode Constraints

maximum length: the maximum number of characters for this string is: 6

pattern: the string must match the following regular expression:

^\d{6}$

try pattern

BankAccountNumber

BankAccountNumber

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BankAccountNumber Type

string

BankAccountNumber Constraints

maximum length: the maximum number of characters for this string is: 10

minimum length: the minimum number of characters for this string is: 8

pattern: the string must match the following regular expression:

^\d{8}\d{0,2}$

try pattern

BankAccountName

BankAccountName

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BankAccountName Type

string

BankAccountName Constraints

maximum length: the maximum number of characters for this string is: 30

IBAN

IBAN

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

IBAN Type

string

IBAN Constraints

maximum length: the maximum number of characters for this string is: 34

pattern: the string must match the following regular expression:

[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}

try pattern

BIC

BIC

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BIC Type

string

BIC Constraints

maximum length: the maximum number of characters for this string is: 11

pattern: the string must match the following regular expression:

^[A-Z]{4}[A-Z]{2}[A-Z1-9]{2}([A-Z\d]{3})?$

try pattern

Definitions group CISDetails

Reference this group by using

{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema#/definitions/CISDetails"}
PropertyTypeRequiredNullableDefined by
CISUniqueTaxReferencestringOptionalcan be nullWorkers v1
CISLegalStatusstringOptionalcan be nullWorkers v1
CISPartnershipNamestringOptionalcan be nullWorkers v1
CISPartnershipUTRstringOptionalcan be nullWorkers v1

CISUniqueTaxReference

CISUniqueTaxReference

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

CISUniqueTaxReference Type

string

CISUniqueTaxReference Constraints

maximum length: the maximum number of characters for this string is: 10

CISLegalStatus

CISLegalStatus

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

CISLegalStatus Type

string

CISLegalStatus Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"SelfEmployed"
"LimitedCompany"
"Partnership"

CISPartnershipName

CISPartnershipName

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

CISPartnershipName Type

string

CISPartnershipName Constraints

maximum length: the maximum number of characters for this string is: 60

CISPartnershipUTR

CISPartnershipUTR

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

CISPartnershipUTR Type

string

CISPartnershipUTR Constraints

maximum length: the maximum number of characters for this string is: 10

Definitions group Contractor

Reference this group by using

{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema#/definitions/Contractor"}
PropertyTypeRequiredNullableDefined by
RemittanceAddressstringOptionalcan be nullWorkers v1
LegalStatusstringOptionalcan be nullWorkers v1
BusinessNamestringRequiredcannot be nullWorkers v1
AddressobjectOptionalcan be nullWorkers v1
IncorporationDatestringOptionalcan be nullWorkers v1
CompanyRegNostringOptionalcan be nullWorkers v1
VATNumberstringOptionalcan be nullWorkers v1
VATCodeSourcestringOptionalcan be nullWorkers v1
DefaultVATRatestringOptionalcan be nullWorkers v1
DivisionRefstringOptionalcan be nullWorkers v1
DepartmentRefstringOptionalcan be nullWorkers v1
PurchaseLedgerAccountNumberstringOptionalcan be nullWorkers v1
PaymentOptionstringOptionalcan be nullWorkers v1
PaymentTermsValueintegerOptionalcan be nullWorkers v1
PayMethodstringOptionalcan be nullWorkers v1
CurrencyRefstringOptionalcan be nullWorkers v1
IsSelfBillingEnabledbooleanOptionalcan be nullWorkers v1
SelfBillingLogoFilenamestringOptionalcan be nullWorkers v1
SelfBillingInvoiceBreakLevelstringOptionalcan be nullWorkers v1
SupplierNotesstringOptionalcan be nullWorkers v1
EmailAddressstringOptionalcan be nullWorkers v1
PayslipPrintMethodstringOptionalcan be nullWorkers v1
IsPaidWhenPaidbooleanOptionalcan be nullWorkers v1
TaxReferenceNumberstringOptionalcan be nullWorkers v1
IsOn46GReportbooleanOptionalcan be nullWorkers v1
BankDetailsobjectOptionalcan be nullWorkers v1
CISDetailsobjectOptionalcan be nullWorkers v1
PartnersarrayOptionalcan be nullWorkers v1

RemittanceAddress

Defaults if not supplied from Employer's Default for Contractors or to 'Trade' for Managed Agencies and Umbrellas.

RemittanceAddress

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

RemittanceAddress Type

string

RemittanceAddress Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"Trade"
"Home"

LegalStatus

This is mandatory for new suppliers.

LegalStatus

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

LegalStatus Type

string

LegalStatus Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"LimitedCompany"
"SelfEmployed"
"Partnership"
"CIS"

BusinessName

BusinessName

  • is required

  • Type: string

  • cannot be null

  • defined in: Workers v1

BusinessName Type

string

BusinessName Constraints

maximum length: the maximum number of characters for this string is: 60

Address

Address

  • is optional

  • Type: object

  • can be null

  • defined in: Workers v1

Address Type

object

IncorporationDate

IncorporationDate

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

IncorporationDate Type

string

IncorporationDate Constraints

date time: the string must be a date time string, according to RFC 3339, section 5.6

CompanyRegNo

CompanyRegNo

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

CompanyRegNo Type

string

CompanyRegNo Constraints

maximum length: the maximum number of characters for this string is: 30

VATNumber

VATNumber

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

VATNumber Type

string

VATNumber Constraints

maximum length: the maximum number of characters for this string is: 30

VATCodeSource

If DefaultVATRate or DefaultNonVATRate then inherits from employer/system defaults. Only applies to New Suppliers

VATCodeSource

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

VATCodeSource Type

string

VATCodeSource Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"SpecifiedVATRate"
"DefaultVATRate"
"DefaultNonVATRate"

DefaultVATRate

Required if VAT Code Source is not supplied or is set to SpecifiedVATRate. This value is ignored If VAT Code Source is DefaultVATRate or DefaultNonVATRate

DefaultVATRate

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

DefaultVATRate Type

string

DefaultVATRate Constraints

maximum length: the maximum number of characters for this string is: 2

pattern: the string must match the following regular expression:

^([^a-z?*]{0,2})$

try pattern

DivisionRef

Defaults from API settings for Employer if not supplied. A record with the Division Ref must already exist in the system.

DivisionRef

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

DivisionRef Type

string

DivisionRef Constraints

maximum length: the maximum number of characters for this string is: 6

pattern: the string must match the following regular expression:

^([^a-z?*]{1,6})$

try pattern

DepartmentRef

Defaults from API settings for Employer if not supplied. A record with the Department Ref must already exist in the system.

DepartmentRef

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

DepartmentRef Type

string

DepartmentRef Constraints

maximum length: the maximum number of characters for this string is: 10

pattern: the string must match the following regular expression:

^([^a-z?*]{1,10})$

try pattern

PurchaseLedgerAccountNumber

PurchaseLedgerAccountNumber

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PurchaseLedgerAccountNumber Type

string

PurchaseLedgerAccountNumber Constraints

maximum length: the maximum number of characters for this string is: 10

PaymentOption

Defaults to the Employer's Default Payment Option if not specified.

PaymentOption

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PaymentOption Type

string

PaymentOption Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"PaidViaTimesheets"
"PaidViaTimesheetsAccordingToPaymentTerms"
"PaidViaPurchaseInvoice"

PaymentTermsValue

Defaults to the Employer's Default Payment Terms if not specified.

PaymentTermsValue

  • is optional

  • Type: integer

  • can be null

  • defined in: Workers v1

PaymentTermsValue Type

integer

PaymentTermsValue Constraints

maximum: the value of this number must smaller than or equal to: 999999

minimum: the value of this number must greater than or equal to: 0

PayMethod

Defaults to the Employer's Usual Payment Method if not specified.A record with the Payment Method must already exist in the system.

PayMethod

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PayMethod Type

string

PayMethod Constraints

maximum length: the maximum number of characters for this string is: 10

CurrencyRef

Defaults to Employer's Base Currency if not supplied. Only applies to Multi Currency Employers. A record with the Currency Ref must already exist in the system.

CurrencyRef

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

CurrencyRef Type

string

CurrencyRef Constraints

maximum length: the maximum number of characters for this string is: 3

IsSelfBillingEnabled

Defaults to false if not supplied.

IsSelfBillingEnabled

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsSelfBillingEnabled Type

boolean

SelfBillingLogoFilename

Specified filename to an image to be printed on various documents in the system.

SelfBillingLogoFilename

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

SelfBillingLogoFilename Type

string

SelfBillingLogoFilename Constraints

maximum length: the maximum number of characters for this string is: 128

SelfBillingInvoiceBreakLevel

Defaults to Supplier if not specified.

SelfBillingInvoiceBreakLevel

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

SelfBillingInvoiceBreakLevel Type

string

SelfBillingInvoiceBreakLevel Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"Supplier"
"Worker"
"Timesheet"

SupplierNotes

General free format text relating to the supplier.

SupplierNotes

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

SupplierNotes Type

string

SupplierNotes Constraints

maximum length: the maximum number of characters for this string is: 60

EmailAddress

EmailAddress

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

EmailAddress Type

string

EmailAddress Constraints

maximum length: the maximum number of characters for this string is: 50

PayslipPrintMethod

Defaults to Paper if not specified.

PayslipPrintMethod

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PayslipPrintMethod Type

string

PayslipPrintMethod Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"Paper"
"Electronic"
"Both"

IsPaidWhenPaid

Defaults to false if not supplied.

IsPaidWhenPaid

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsPaidWhenPaid Type

boolean

TaxReferenceNumber

Irish Payroll Only.

TaxReferenceNumber

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

TaxReferenceNumber Type

string

TaxReferenceNumber Constraints

maximum length: the maximum number of characters for this string is: 10

IsOn46GReport

Defaults to false if not supplied. Irish Payroll Only.

IsOn46GReport

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsOn46GReport Type

boolean

BankDetails

BankDetails

  • is optional

  • Type: object

  • can be null

  • defined in: Workers v1

BankDetails Type

object

CISDetails

CISDetails

  • is optional

  • Type: object

  • can be null

  • defined in: Workers v1

CISDetails Type

object

Partners

Partners

  • is optional

  • Type: object[]

  • can be null

  • defined in: Workers v1

Partners Type

object[]

Definitions group Partner

Reference this group by using

{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema#/definitions/Partner"}
PropertyTypeRequiredNullableDefined by
PartnerNamestringOptionalcan be nullWorkers v1
PartnerDateOfBirthstringOptionalcan be nullWorkers v1
PartnerNINumberstringOptionalcan be nullWorkers v1

PartnerName

PartnerName

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PartnerName Type

string

PartnerName Constraints

maximum length: the maximum number of characters for this string is: 30

PartnerDateOfBirth

PartnerDateOfBirth

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PartnerDateOfBirth Type

string

PartnerDateOfBirth Constraints

date time: the string must be a date time string, according to RFC 3339, section 5.6

PartnerNINumber

PartnerNINumber

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PartnerNINumber Type

string

PartnerNINumber Constraints

maximum length: the maximum number of characters for this string is: 9

Definitions group PayrolDetailsROI

Reference this group by using

{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema#/definitions/PayrolDetailsROI"}
PropertyTypeRequiredNullableDefined by
OptInbooleanOptionalcan be nullWorkers v1
OptInNoticeReceivedDatestringOptionalcan be nullWorkers v1
PRSIBaseClassstringOptionalcan be nullWorkers v1
PPSNumberstringOptionalcan be nullWorkers v1
IrishTaxStatusstringRequiredcan be nullWorkers v1
EmergencyStartPeriodintegerOptionalcan be nullWorkers v1
SRCOPPerPayPeriodnumberOptionalcan be nullWorkers v1
TaxCreditPerPayPeriodnumberOptionalcan be nullWorkers v1
PRSILockbooleanOptionalcan be nullWorkers v1

OptIn

Defaults to false if not specified.

OptIn

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

OptIn Type

boolean

OptInNoticeReceivedDate

OptInNoticeReceivedDate

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

OptInNoticeReceivedDate Type

string

OptInNoticeReceivedDate Constraints

date time: the string must be a date time string, according to RFC 3339, section 5.6

PRSIBaseClass

A record with this PRSI Base Class must already exist in the system.

PRSIBaseClass

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PRSIBaseClass Type

string

PRSIBaseClass Constraints

maximum length: the maximum number of characters for this string is: 2

PPSNumber

PPS Numbers must match the specified pattern and also pass the PPSN Mod 23 checksum. (see https://www.revenue.ie/en/tax-professionals/tdm/income-tax-capital-gains-tax-corporation-tax/part-42/42-04-35a.pdf section 15.3, and https://en.wikipedia.org/wiki/Personal_Public_Service_Number#Calculation for more information on the checksum)

PPSNumber

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PPSNumber Type

string

PPSNumber Constraints

maximum length: the maximum number of characters for this string is: 9

pattern: the string must match the following regular expression:

^\d{7}[A-Z]{1}[A-Z ]{0,1}$

try pattern

IrishTaxStatus

Defaults to Emergency if not specified.

IrishTaxStatus

  • is required

  • Type: string

  • can be null

  • defined in: Workers v1

IrishTaxStatus Type

string

IrishTaxStatus Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"Emergency"
"Normal"
"Week1Month1"
"Exempt"

EmergencyStartPeriod

EmergencyStartPeriod

  • is optional

  • Type: integer

  • can be null

  • defined in: Workers v1

EmergencyStartPeriod Type

integer

EmergencyStartPeriod Constraints

maximum: the value of this number must smaller than or equal to: 999

minimum: the value of this number must greater than or equal to: 0

SRCOPPerPayPeriod

SRCOPPerPayPeriod

  • is optional

  • Type: number

  • can be null

  • defined in: Workers v1

SRCOPPerPayPeriod Type

number

SRCOPPerPayPeriod Constraints

maximum: the value of this number must smaller than or equal to: 999999999.99

minimum: the value of this number must greater than or equal to: -999999999.99

TaxCreditPerPayPeriod

TaxCreditPerPayPeriod

  • is optional

  • Type: number

  • can be null

  • defined in: Workers v1

TaxCreditPerPayPeriod Type

number

TaxCreditPerPayPeriod Constraints

maximum: the value of this number must smaller than or equal to: 999999999.99

minimum: the value of this number must greater than or equal to: -999999999.99

PRSILock

Defaults to false if not specified.

PRSILock

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

PRSILock Type

boolean

Definitions group PayrollDetailsUK

Reference this group by using

{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema#/definitions/PayrollDetailsUK"}
PropertyTypeRequiredNullableDefined by
NINumberstringOptionalcan be nullWorkers v1
NITableLetterstringOptionalcan be nullWorkers v1
IsContractedOutbooleanOptionalcan be nullWorkers v1
PAYECodestringOptionalcan be nullWorkers v1
PAYEMethodintegerOptionalcan be nullWorkers v1
TaxRegimestringOptionalcan be nullWorkers v1
IsExcludedFromRegPensionbooleanOptionalcan be nullWorkers v1
StartingDecCategorystringOptionalcan be nullWorkers v1
HasStudentLoanbooleanOptionalcan be nullWorkers v1
StartingDecByEmployeebooleanOptionalcan be nullWorkers v1
OptInbooleanOptionalcan be nullWorkers v1
OptInNoticeReceivedDatestringOptionalcan be nullWorkers v1
StudentLoanPlanTypestringOptionalcan be nullWorkers v1
IsStudentFinishedStudiesbooleanOptionalcan be nullWorkers v1
IsStudentLoanPaidExternallybooleanOptionalcan be nullWorkers v1
HasPostgradLoanbooleanOptionalcan be nullWorkers v1
PostgradLoanPlanTypestringOptionalcan be nullWorkers v1
IsPostgradFinishedStudiesbooleanOptionalcan be nullWorkers v1
IsPostgradLoanPaidExternallybooleanOptionalcan be nullWorkers v1
UKRegionstringOptionalcan be nullWorkers v1

NINumber

NINumber

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

NINumber Type

string

NINumber Constraints

maximum length: the maximum number of characters for this string is: 9

pattern: the string must match the following regular expression:

[0-9]{6}[A-D ]

try pattern

NITableLetter

NITableLetter

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

NITableLetter Type

string

NITableLetter Constraints

maximum length: the maximum number of characters for this string is: 1

IsContractedOut

Defaults to false if not specified.

IsContractedOut

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsContractedOut Type

boolean

PAYECode

PAYECode

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PAYECode Type

string

PAYECode Constraints

maximum length: the maximum number of characters for this string is: 7

PAYEMethod

PAYEMethod

  • is optional

  • Type: integer

  • can be null

  • defined in: Workers v1

PAYEMethod Type

integer

PAYEMethod Constraints

maximum: the value of this number must smaller than or equal to: 2

minimum: the value of this number must greater than or equal to: 0

TaxRegime

Defaults to None if not specified.

TaxRegime

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

TaxRegime Type

string

TaxRegime Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"None"
"Scottish"
"Welsh"

IsExcludedFromRegPension

Defaults to false if not specified.

IsExcludedFromRegPension

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsExcludedFromRegPension Type

boolean

StartingDecCategory

StartingDecCategory

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

StartingDecCategory Type

string

StartingDecCategory Constraints

maximum length: the maximum number of characters for this string is: 1

HasStudentLoan

Defaults to false if not specified.

HasStudentLoan

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

HasStudentLoan Type

boolean

StartingDecByEmployee

Defaults to false if not specified.

StartingDecByEmployee

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

StartingDecByEmployee Type

boolean

OptIn

Defaults to false if not specified.

OptIn

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

OptIn Type

boolean

OptInNoticeReceivedDate

OptInNoticeReceivedDate

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

OptInNoticeReceivedDate Type

string

OptInNoticeReceivedDate Constraints

date time: the string must be a date time string, according to RFC 3339, section 5.6

StudentLoanPlanType

StudentLoanPlanType

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

StudentLoanPlanType Type

string

StudentLoanPlanType Constraints

maximum length: the maximum number of characters for this string is: 2

IsStudentFinishedStudies

Defaults to false if not specified.

IsStudentFinishedStudies

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsStudentFinishedStudies Type

boolean

IsStudentLoanPaidExternally

Defaults to false if not specified.

IsStudentLoanPaidExternally

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsStudentLoanPaidExternally Type

boolean

HasPostgradLoan

Defaults to false if not specified.

HasPostgradLoan

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

HasPostgradLoan Type

boolean

PostgradLoanPlanType

PostgradLoanPlanType

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PostgradLoanPlanType Type

string

PostgradLoanPlanType Constraints

maximum length: the maximum number of characters for this string is: 2

IsPostgradFinishedStudies

Defaults to false if not specified.

IsPostgradFinishedStudies

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsPostgradFinishedStudies Type

boolean

IsPostgradLoanPaidExternally

Defaults to false if not specified.

IsPostgradLoanPaidExternally

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsPostgradLoanPaidExternally Type

boolean

UKRegion

Defaults to Blank if not specified.

UKRegion

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

UKRegion Type

string

UKRegion Constraints

pattern: the string must match the following regular expression:

^$

try pattern

Definitions group Worker

Reference this group by using

{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema#/definitions/Worker"}
PropertyTypeRequiredNullableDefined by
EmployerRefstringRequiredcannot be nullWorkers v1
PersonnelRefstringRequiredcannot be nullWorkers v1
SurnamestringOptionalcan be nullWorkers v1
FirstForenamestringOptionalcan be nullWorkers v1
SecondForenamestringOptionalcan be nullWorkers v1
ThirdForenamestringOptionalcan be nullWorkers v1
TitlestringOptionalcan be nullWorkers v1
KnownAsstringOptionalcan be nullWorkers v1
WorkerAddressobjectOptionalcan be nullWorkers v1
TelephoneNumberstringOptionalcan be nullWorkers v1
GenderstringOptionalcan be nullWorkers v1
DateOfBirthstringOptionalcan be nullWorkers v1
MaritalStatusstringOptionalcan be nullWorkers v1
PreviousSurnamestringOptionalcan be nullWorkers v1
NationalitystringOptionalcan be nullWorkers v1
CitizenshipstringOptionalcan be nullWorkers v1
PassportHeldstringOptionalcan be nullWorkers v1
NextOfKinstringOptionalcan be nullWorkers v1
NextOfKinRelationstringOptionalcan be nullWorkers v1
NextOfKinAddressobjectOptionalcan be nullWorkers v1
NextOfKinTelephonestringOptionalcan be nullWorkers v1
EmergencyContactstringOptionalcan be nullWorkers v1
EmergencyContactTelephonestringOptionalcan be nullWorkers v1
LastAddressobjectOptionalcan be nullWorkers v1
DateOfAddressChangestringOptionalcan be nullWorkers v1
StartDatestringOptionalcan be nullWorkers v1
LeavingDatestringOptionalcan be nullWorkers v1
LeavingCodestringOptionalcan be nullWorkers v1
UserIndexstringOptionalcan be nullWorkers v1
PersonnelNotesstringOptionalcan be nullWorkers v1
WorkTelephonestringOptionalcan be nullWorkers v1
WorkFaxstringOptionalcan be nullWorkers v1
MobileTelephonestringOptionalcan be nullWorkers v1
PrimaryEmailAddressstringOptionalcan be nullWorkers v1
SecondaryEmailAddressstringOptionalcan be nullWorkers v1
PrimaryPayMethodstringOptionalcan be nullWorkers v1
SecondaryPayMethodstringOptionalcan be nullWorkers v1
PrimaryBankDetailsobjectOptionalcan be nullWorkers v1
SecondaryBankDetailsobjectOptionalcan be nullWorkers v1
PayrollNotesstringOptionalcan be nullWorkers v1
IsStudentbooleanOptionalcan be nullWorkers v1
AnalysisCodestringOptionalcan be nullWorkers v1
DivisionRefstringOptionalcan be nullWorkers v1
DepartmentRefstringOptionalcan be nullWorkers v1
JobCategoryRefstringOptionalcan be nullWorkers v1
EmploymentTypestringOptionalcan be nullWorkers v1
CurrencyRefstringOptionalcan be nullWorkers v1
ConsultantRefstringOptionalcan be nullWorkers v1
SupplierRefstringOptionalcan be nullWorkers v1
PayslipPrintMethodstringRequiredcan be nullWorkers v1
IsWorkerAlertedBySMSbooleanOptionalcan be nullWorkers v1
IsWorkerAlertedByEmailbooleanOptionalcan be nullWorkers v1
AWRTypestringRequiredcan be nullWorkers v1
PassportNumberstringOptionalcan be nullWorkers v1
AnalysisCode3stringOptionalcan be nullWorkers v1
AnalysisCode4stringOptionalcan be nullWorkers v1
AnalysisCode5stringOptionalcan be nullWorkers v1
IsExpatbooleanOptionalcan be nullWorkers v1
ExternalWorkerRefstringOptionalcan be nullWorkers v1
EIREngagementStatusstringOptionalcan be nullWorkers v1
UTRNonCISstringOptionalcan be nullWorkers v1
IsApprenticebooleanOptionalcan be nullWorkers v1
eP45PrintMethodstringOptionalcan be nullWorkers v1
IsExcludedFromWTRbooleanOptionalcan be nullWorkers v1
HasOnlineAccessbooleanOptionalcan be nullWorkers v1
STITemplatestringOptionalcan be nullWorkers v1
STIUserRefstringOptionalcan be nullWorkers v1
ContractorDetailsobjectOptionalcan be nullWorkers v1
UKPayrollDetailsobjectOptionalcan be nullWorkers v1
ROIPayrollDetailsobjectOptionalcan be nullWorkers v1

EmployerRef

A record with this Employer Ref must already exist in the system.

EmployerRef

  • is required

  • Type: string

  • cannot be null

  • defined in: Workers v1

EmployerRef Type

string

EmployerRef Constraints

maximum length: the maximum number of characters for this string is: 6

pattern: the string must match the following regular expression:

^([^(*?a-z)]{1,6})$

try pattern

PersonnelRef

A record with this Personnel Ref may or may not already exist in the system.

PersonnelRef

  • is required

  • Type: string

  • cannot be null

  • defined in: Workers v1

PersonnelRef Type

string

PersonnelRef Constraints

maximum length: the maximum number of characters for this string is: 10

pattern: the string must match the following regular expression:

^([A-Z0-9\-\/][A-Z0-9\-\/ ]{0,9})$

try pattern

Surname

Surname

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

Surname Type

string

Surname Constraints

maximum length: the maximum number of characters for this string is: 20

FirstForename

FirstForename

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

FirstForename Type

string

FirstForename Constraints

maximum length: the maximum number of characters for this string is: 20

SecondForename

SecondForename

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

SecondForename Type

string

SecondForename Constraints

maximum length: the maximum number of characters for this string is: 20

ThirdForename

ThirdForename

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

ThirdForename Type

string

ThirdForename Constraints

maximum length: the maximum number of characters for this string is: 20

Title

Title

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

Title Type

string

Title Constraints

maximum length: the maximum number of characters for this string is: 4

KnownAs

KnownAs

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

KnownAs Type

string

KnownAs Constraints

maximum length: the maximum number of characters for this string is: 20

WorkerAddress

WorkerAddress

  • is optional

  • Type: object

  • can be null

  • defined in: Workers v1

WorkerAddress Type

object

TelephoneNumber

TelephoneNumber

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

TelephoneNumber Type

string

TelephoneNumber Constraints

maximum length: the maximum number of characters for this string is: 20

Gender

Defaults to Unknown if not specified.

Gender

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

Gender Type

string

Gender Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"Male"
"M"
"Female"
"F"
"Unknown"
"U"

DateOfBirth

DateOfBirth

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

DateOfBirth Type

string

DateOfBirth Constraints

date time: the string must be a date time string, according to RFC 3339, section 5.6

MaritalStatus

Defaults to Unknown if not specified.

MaritalStatus

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

MaritalStatus Type

string

MaritalStatus Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"Unknown"
"Single"
"Widow"
"Divorced"
"Married"

PreviousSurname

PreviousSurname

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PreviousSurname Type

string

PreviousSurname Constraints

maximum length: the maximum number of characters for this string is: 20

Nationality

Nationality

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

Nationality Type

string

Nationality Constraints

maximum length: the maximum number of characters for this string is: 30

Citizenship

Citizenship

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

Citizenship Type

string

Citizenship Constraints

maximum length: the maximum number of characters for this string is: 30

PassportHeld

Defaults to None if not specified.

PassportHeld

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PassportHeld Type

string

PassportHeld Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"Full"
"Visitor"
"None"

NextOfKin

NextOfKin

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

NextOfKin Type

string

NextOfKin Constraints

maximum length: the maximum number of characters for this string is: 30

NextOfKinRelation

NextOfKinRelation

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

NextOfKinRelation Type

string

NextOfKinRelation Constraints

maximum length: the maximum number of characters for this string is: 30

NextOfKinAddress

NextOfKinAddress

  • is optional

  • Type: object

  • can be null

  • defined in: Workers v1

NextOfKinAddress Type

object

NextOfKinTelephone

NextOfKinTelephone

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

NextOfKinTelephone Type

string

NextOfKinTelephone Constraints

maximum length: the maximum number of characters for this string is: 20

EmergencyContact

EmergencyContact

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

EmergencyContact Type

string

EmergencyContact Constraints

maximum length: the maximum number of characters for this string is: 30

EmergencyContactTelephone

EmergencyContactTelephone

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

EmergencyContactTelephone Type

string

EmergencyContactTelephone Constraints

maximum length: the maximum number of characters for this string is: 20

LastAddress

LastAddress

  • is optional

  • Type: object

  • can be null

  • defined in: Workers v1

LastAddress Type

object

DateOfAddressChange

DateOfAddressChange

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

DateOfAddressChange Type

string

DateOfAddressChange Constraints

date time: the string must be a date time string, according to RFC 3339, section 5.6

StartDate

StartDate

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

StartDate Type

string

StartDate Constraints

date time: the string must be a date time string, according to RFC 3339, section 5.6

LeavingDate

LeavingDate

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

LeavingDate Type

string

LeavingDate Constraints

date time: the string must be a date time string, according to RFC 3339, section 5.6

LeavingCode

A record with the Leaving Code must already exist in the system.

LeavingCode

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

LeavingCode Type

string

LeavingCode Constraints

maximum length: the maximum number of characters for this string is: 6

UserIndex

UserIndex

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

UserIndex Type

string

UserIndex Constraints

maximum length: the maximum number of characters for this string is: 6

PersonnelNotes

PersonnelNotes

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PersonnelNotes Type

string

PersonnelNotes Constraints

maximum length: the maximum number of characters for this string is: 300

WorkTelephone

WorkTelephone

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

WorkTelephone Type

string

WorkTelephone Constraints

maximum length: the maximum number of characters for this string is: 20

WorkFax

WorkFax

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

WorkFax Type

string

WorkFax Constraints

maximum length: the maximum number of characters for this string is: 20

MobileTelephone

MobileTelephone

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

MobileTelephone Type

string

MobileTelephone Constraints

maximum length: the maximum number of characters for this string is: 20

PrimaryEmailAddress

PrimaryEmailAddress

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PrimaryEmailAddress Type

string

PrimaryEmailAddress Constraints

maximum length: the maximum number of characters for this string is: 50

SecondaryEmailAddress

SecondaryEmailAddress

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

SecondaryEmailAddress Type

string

SecondaryEmailAddress Constraints

maximum length: the maximum number of characters for this string is: 50

PrimaryPayMethod

A record with the Primary Pay Method must already exist in the system.

PrimaryPayMethod

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PrimaryPayMethod Type

string

PrimaryPayMethod Constraints

maximum length: the maximum number of characters for this string is: 10

SecondaryPayMethod

A record with the Secondary Pay Method must already exist in the system.

SecondaryPayMethod

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

SecondaryPayMethod Type

string

SecondaryPayMethod Constraints

maximum length: the maximum number of characters for this string is: 10

PrimaryBankDetails

PrimaryBankDetails

  • is optional

  • Type: object

  • can be null

  • defined in: Workers v1

PrimaryBankDetails Type

object

SecondaryBankDetails

SecondaryBankDetails

  • is optional

  • Type: object

  • can be null

  • defined in: Workers v1

SecondaryBankDetails Type

object

PayrollNotes

PayrollNotes

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PayrollNotes Type

string

PayrollNotes Constraints

maximum length: the maximum number of characters for this string is: 300

IsStudent

Defaults to false if not supplied.

IsStudent

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsStudent Type

boolean

AnalysisCode

AnalysisCode

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AnalysisCode Type

string

AnalysisCode Constraints

maximum length: the maximum number of characters for this string is: 10

DivisionRef

Defaults from API settings for Employer if not supplied. A record with the Division Ref must already exist in the system.

DivisionRef

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

DivisionRef Type

string

DivisionRef Constraints

maximum length: the maximum number of characters for this string is: 6

pattern: the string must match the following regular expression:

^([^a-z?*]{1,6})$

try pattern

DepartmentRef

Defaults from API settings for Employer if not supplied. A record with the Department Ref must already exist in the system.

DepartmentRef

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

DepartmentRef Type

string

DepartmentRef Constraints

maximum length: the maximum number of characters for this string is: 10

pattern: the string must match the following regular expression:

^([^a-z?*]{1,10})$

try pattern

JobCategoryRef

JobCategoryRef

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

JobCategoryRef Type

string

JobCategoryRef Constraints

maximum length: the maximum number of characters for this string is: 8

pattern: the string must match the following regular expression:

^([^a-z?*]{0,8})$

try pattern

EmploymentType

Defaults to PAYE if not specified.

EmploymentType

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

EmploymentType Type

string

EmploymentType Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"PAYE"
"Contractor"
"ManagedAgencyWorker"
"UmbrellaCompositeWorker"

CurrencyRef

Defaults to Employer's Base Currency if not supplied. A record with the Currency Ref must already exist in the system.

CurrencyRef

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

CurrencyRef Type

string

CurrencyRef Constraints

maximum length: the maximum number of characters for this string is: 3

ConsultantRef

A record with the Consultant Ref must already exist in the system.

ConsultantRef

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

ConsultantRef Type

string

ConsultantRef Constraints

maximum length: the maximum number of characters for this string is: 10

pattern: the string must match the following regular expression:

^([^(*?a-z)]{1,10})$

try pattern

SupplierRef

A record with the Supplier Ref must already exist in the system. Mandatory for Managed Agency & Umbrella Workers.

SupplierRef

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

SupplierRef Type

string

SupplierRef Constraints

maximum length: the maximum number of characters for this string is: 10

pattern: the string must match the following regular expression:

^([A-Z0-9\-\/][A-Z0-9\-\/ ]{0,9})$

try pattern

PayslipPrintMethod

Defaults to Paper if not specified.

PayslipPrintMethod

  • is required

  • Type: string

  • can be null

  • defined in: Workers v1

PayslipPrintMethod Type

string

PayslipPrintMethod Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"Paper"
"Electronic"
"Both"

IsWorkerAlertedBySMS

Defaults to false if not supplied.

IsWorkerAlertedBySMS

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsWorkerAlertedBySMS Type

boolean

IsWorkerAlertedByEmail

Defaults to false if not supplied.

IsWorkerAlertedByEmail

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsWorkerAlertedByEmail Type

boolean

AWRType

Defaults to Parity for PAYE Workers, else Excluded for all others.

AWRType

  • is required

  • Type: string

  • can be null

  • defined in: Workers v1

AWRType Type

string

AWRType Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"Parity"
"Derogated"
"Excluded"

PassportNumber

PassportNumber

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

PassportNumber Type

string

PassportNumber Constraints

maximum length: the maximum number of characters for this string is: 35

AnalysisCode3

A record with the Analysis Code 3 must already exist in the system.

AnalysisCode3

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AnalysisCode3 Type

string

AnalysisCode3 Constraints

maximum length: the maximum number of characters for this string is: 6

AnalysisCode4

A record with the Analysis Code 4 must already exist in the system.

AnalysisCode4

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AnalysisCode4 Type

string

AnalysisCode4 Constraints

maximum length: the maximum number of characters for this string is: 6

AnalysisCode5

A record with the Analysis Code 5 must already exist in the system.

AnalysisCode5

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AnalysisCode5 Type

string

AnalysisCode5 Constraints

maximum length: the maximum number of characters for this string is: 6

IsExpat

Defaults to false if not supplied.

IsExpat

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsExpat Type

boolean

ExternalWorkerRef

ExternalWorkerRef

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

ExternalWorkerRef Type

string

ExternalWorkerRef Constraints

maximum length: the maximum number of characters for this string is: 40

EIREngagementStatus

EIREngagementStatus

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

EIREngagementStatus Type

string

EIREngagementStatus Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"SelfEmployed"
"Partnership"
"LtdCompany"
"NonUK"
"PAYE"

UTRNonCIS

UTRNonCIS

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

UTRNonCIS Type

string

UTRNonCIS Constraints

maximum length: the maximum number of characters for this string is: 10

IsApprentice

Defaults to false if not supplied.

IsApprentice

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsApprentice Type

boolean

eP45PrintMethod

Defaults to Paper if not specified.

eP45PrintMethod

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

eP45PrintMethod Type

string

eP45PrintMethod Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
null
"Paper"
"Electronic"

IsExcludedFromWTR

Defaults to false if not supplied.

IsExcludedFromWTR

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

IsExcludedFromWTR Type

boolean

HasOnlineAccess

Defaults to false if not supplied.

HasOnlineAccess

  • is optional

  • Type: boolean

  • can be null

  • defined in: Workers v1

HasOnlineAccess Type

boolean

STITemplate

STITemplate

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

STITemplate Type

string

STITemplate Constraints

maximum length: the maximum number of characters for this string is: 100

STIUserRef

STIUserRef

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

STIUserRef Type

string

STIUserRef Constraints

maximum length: the maximum number of characters for this string is: 100

ContractorDetails

Supplier Import Layout

ContractorDetails

  • is optional

  • Type: object

  • can be null

  • defined in: Workers v1

ContractorDetails Type

object

UKPayrollDetails

UKPayrollDetails

  • is optional

  • Type: object

  • can be null

  • defined in: Workers v1

UKPayrollDetails Type

object

ROIPayrollDetails

ROIPayrollDetails

  • is optional

  • Type: object

  • can be null

  • defined in: Workers v1

ROIPayrollDetails Type

object

Definitions group WorkerAddress

Reference this group by using

{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema#/definitions/WorkerAddress"}
PropertyTypeRequiredNullableDefined by
AddressLine1stringOptionalcan be nullWorkers v1
AddressLine2stringOptionalcan be nullWorkers v1
AddressLine3stringOptionalcan be nullWorkers v1
AddressLine4stringOptionalcan be nullWorkers v1
AddressLine5stringOptionalcan be nullWorkers v1
PostcodestringOptionalcan be nullWorkers v1
CountrystringOptionalcan be nullWorkers v1

AddressLine1

Address Line 1 of the Address

AddressLine1

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine1 Type

string

AddressLine1 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine2

Address Line 2 of the Address

AddressLine2

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine2 Type

string

AddressLine2 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine3

Address Line 3 of the Address

AddressLine3

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine3 Type

string

AddressLine3 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine4

Address Line 4 of the Address

AddressLine4

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine4 Type

string

AddressLine4 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine5

Address Line 5 of the Address

AddressLine5

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine5 Type

string

AddressLine5 Constraints

maximum length: the maximum number of characters for this string is: 40

Postcode

Post Code of the Address

Postcode

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

Postcode Type

string

Postcode Constraints

maximum length: the maximum number of characters for this string is: 10

Country

Country of the Address

Country

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

Country Type

string

Country Constraints

maximum length: the maximum number of characters for this string is: 40

Definitions group WorkerAddress-1

Reference this group by using

{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema#/definitions/WorkerAddress-1"}
PropertyTypeRequiredNullableDefined by
AddressLine1stringOptionalcan be nullWorkers v1
AddressLine2stringOptionalcan be nullWorkers v1
AddressLine3stringOptionalcan be nullWorkers v1
AddressLine4stringOptionalcan be nullWorkers v1
AddressLine5stringOptionalcan be nullWorkers v1
PostcodestringOptionalcan be nullWorkers v1
CountrystringOptionalcan be nullWorkers v1

AddressLine1

Address Line 1 of the Address

AddressLine1

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine1 Type

string

AddressLine1 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine2

Address Line 2 of the Address

AddressLine2

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine2 Type

string

AddressLine2 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine3

Address Line 3 of the Address

AddressLine3

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine3 Type

string

AddressLine3 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine4

Address Line 4 of the Address

AddressLine4

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine4 Type

string

AddressLine4 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine5

Address Line 5 of the Address

AddressLine5

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine5 Type

string

AddressLine5 Constraints

maximum length: the maximum number of characters for this string is: 40

Postcode

Post Code of the Address

Postcode

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

Postcode Type

string

Postcode Constraints

maximum length: the maximum number of characters for this string is: 10

Country

Country of the Address

Country

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

Country Type

string

Country Constraints

maximum length: the maximum number of characters for this string is: 40

Definitions group WorkerAddress-2

Reference this group by using

{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema#/definitions/WorkerAddress-2"}
PropertyTypeRequiredNullableDefined by
AddressLine1stringOptionalcan be nullWorkers v1
AddressLine2stringOptionalcan be nullWorkers v1
AddressLine3stringOptionalcan be nullWorkers v1
AddressLine4stringOptionalcan be nullWorkers v1
AddressLine5stringOptionalcan be nullWorkers v1
PostcodestringOptionalcan be nullWorkers v1
CountrystringOptionalcan be nullWorkers v1

AddressLine1

Address Line 1 of the Address

AddressLine1

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine1 Type

string

AddressLine1 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine2

Address Line 2 of the Address

AddressLine2

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine2 Type

string

AddressLine2 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine3

Address Line 3 of the Address

AddressLine3

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine3 Type

string

AddressLine3 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine4

Address Line 4 of the Address

AddressLine4

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine4 Type

string

AddressLine4 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine5

Address Line 5 of the Address

AddressLine5

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine5 Type

string

AddressLine5 Constraints

maximum length: the maximum number of characters for this string is: 40

Postcode

Post Code of the Address

Postcode

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

Postcode Type

string

Postcode Constraints

maximum length: the maximum number of characters for this string is: 10

Country

Country of the Address

Country

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

Country Type

string

Country Constraints

maximum length: the maximum number of characters for this string is: 40

Definitions group WorkerAddress-3

Reference this group by using

{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema#/definitions/WorkerAddress-3"}
PropertyTypeRequiredNullableDefined by
AddressLine1stringOptionalcan be nullWorkers v1
AddressLine2stringOptionalcan be nullWorkers v1
AddressLine3stringOptionalcan be nullWorkers v1
AddressLine4stringOptionalcan be nullWorkers v1
AddressLine5stringOptionalcan be nullWorkers v1
PostcodestringOptionalcan be nullWorkers v1
CountrystringOptionalcan be nullWorkers v1

AddressLine1

Address Line 1 of the Address

AddressLine1

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine1 Type

string

AddressLine1 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine2

Address Line 2 of the Address

AddressLine2

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine2 Type

string

AddressLine2 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine3

Address Line 3 of the Address

AddressLine3

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine3 Type

string

AddressLine3 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine4

Address Line 4 of the Address

AddressLine4

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine4 Type

string

AddressLine4 Constraints

maximum length: the maximum number of characters for this string is: 40

AddressLine5

Address Line 5 of the Address

AddressLine5

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

AddressLine5 Type

string

AddressLine5 Constraints

maximum length: the maximum number of characters for this string is: 40

Postcode

Post Code of the Address

Postcode

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

Postcode Type

string

Postcode Constraints

maximum length: the maximum number of characters for this string is: 10

Country

Country of the Address

Country

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

Country Type

string

Country Constraints

maximum length: the maximum number of characters for this string is: 40

Definitions group WorkerBankDetails

Reference this group by using

{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema#/definitions/WorkerBankDetails"}
PropertyTypeRequiredNullableDefined by
BankAccountTypeintegerOptionalcan be nullWorkers v1
BankRefstringOptionalcan be nullWorkers v1
BuildingSocietyNamestringOptionalcan be nullWorkers v1
BuildingSocietyNumberstringOptionalcan be nullWorkers v1
BankSortCodestringOptionalcan be nullWorkers v1
BankAccountNumberstringOptionalcan be nullWorkers v1
BankAccountNamestringOptionalcan be nullWorkers v1
IBANstringOptionalcan be nullWorkers v1
BICstringOptionalcan be nullWorkers v1

BankAccountType

BankAccountType

  • is optional

  • Type: integer

  • can be null

  • defined in: Workers v1

BankAccountType Type

integer

BankAccountType Constraints

maximum: the value of this number must smaller than or equal to: 9

minimum: the value of this number must greater than or equal to: 0

BankRef

BankRef

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BankRef Type

string

BankRef Constraints

maximum length: the maximum number of characters for this string is: 20

BuildingSocietyName

BuildingSocietyName

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BuildingSocietyName Type

string

BuildingSocietyName Constraints

maximum length: the maximum number of characters for this string is: 20

BuildingSocietyNumber

BuildingSocietyNumber

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BuildingSocietyNumber Type

string

BuildingSocietyNumber Constraints

maximum length: the maximum number of characters for this string is: 20

BankSortCode

A record with this Bank Sort Code must already exist in the system ('BACS' Only)

BankSortCode

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BankSortCode Type

string

BankSortCode Constraints

maximum length: the maximum number of characters for this string is: 6

pattern: the string must match the following regular expression:

^\d{6}$

try pattern

BankAccountNumber

BankAccountNumber

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BankAccountNumber Type

string

BankAccountNumber Constraints

maximum length: the maximum number of characters for this string is: 10

minimum length: the minimum number of characters for this string is: 8

pattern: the string must match the following regular expression:

^\d{8}\d{0,2}$

try pattern

BankAccountName

BankAccountName

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BankAccountName Type

string

BankAccountName Constraints

maximum length: the maximum number of characters for this string is: 30

IBAN

IBAN

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

IBAN Type

string

IBAN Constraints

maximum length: the maximum number of characters for this string is: 34

pattern: the string must match the following regular expression:

[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}

try pattern

BIC

BIC

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BIC Type

string

BIC Constraints

maximum length: the maximum number of characters for this string is: 11

pattern: the string must match the following regular expression:

^[A-Z]{4}[A-Z]{2}[A-Z1-9]{2}([A-Z\d]{3})?$

try pattern

Definitions group WorkerBankDetails-1

Reference this group by using

{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/workers.v1.schema#/definitions/WorkerBankDetails-1"}
PropertyTypeRequiredNullableDefined by
BankAccountTypeintegerOptionalcan be nullWorkers v1
BankRefstringOptionalcan be nullWorkers v1
BuildingSocietyNamestringOptionalcan be nullWorkers v1
BuildingSocietyNumberstringOptionalcan be nullWorkers v1
BankSortCodestringOptionalcan be nullWorkers v1
BankAccountNumberstringOptionalcan be nullWorkers v1
BankAccountNamestringOptionalcan be nullWorkers v1
IBANstringOptionalcan be nullWorkers v1
BICstringOptionalcan be nullWorkers v1

BankAccountType

BankAccountType

  • is optional

  • Type: integer

  • can be null

  • defined in: Workers v1

BankAccountType Type

integer

BankAccountType Constraints

maximum: the value of this number must smaller than or equal to: 9

minimum: the value of this number must greater than or equal to: 0

BankRef

BankRef

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BankRef Type

string

BankRef Constraints

maximum length: the maximum number of characters for this string is: 20

BuildingSocietyName

BuildingSocietyName

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BuildingSocietyName Type

string

BuildingSocietyName Constraints

maximum length: the maximum number of characters for this string is: 20

BuildingSocietyNumber

BuildingSocietyNumber

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BuildingSocietyNumber Type

string

BuildingSocietyNumber Constraints

maximum length: the maximum number of characters for this string is: 20

BankSortCode

A record with this Bank Sort Code must already exist in the system ('BACS' Only)

BankSortCode

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BankSortCode Type

string

BankSortCode Constraints

maximum length: the maximum number of characters for this string is: 6

pattern: the string must match the following regular expression:

^\d{6}$

try pattern

BankAccountNumber

BankAccountNumber

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BankAccountNumber Type

string

BankAccountNumber Constraints

maximum length: the maximum number of characters for this string is: 10

minimum length: the minimum number of characters for this string is: 8

pattern: the string must match the following regular expression:

^\d{8}\d{0,2}$

try pattern

BankAccountName

BankAccountName

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BankAccountName Type

string

BankAccountName Constraints

maximum length: the maximum number of characters for this string is: 30

IBAN

IBAN

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

IBAN Type

string

IBAN Constraints

maximum length: the maximum number of characters for this string is: 34

pattern: the string must match the following regular expression:

[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}

try pattern

BIC

BIC

  • is optional

  • Type: string

  • can be null

  • defined in: Workers v1

BIC Type

string

BIC Constraints

maximum length: the maximum number of characters for this string is: 11

pattern: the string must match the following regular expression:

^[A-Z]{4}[A-Z]{2}[A-Z1-9]{2}([A-Z\d]{3})?$

try pattern