Bank Account
The bank account is a shared data type that can be included as a sub-type of either the Employer or Employee.
BankAccount [Schema]
Name | Type | Required | Description |
---|---|---|---|
AccountName | xsd:string
(
min: 1
max: 18)
Pattern: [A-Za-z0-9\-\' &]* |
yes | The bank account name |
AccountNumber | xsd:string
(
min: 7
max: 8)
Pattern: [0-9]* |
yes | The account number |
SortCode | xsd:string
(
min: 6
max: 8)
Pattern: [0-9\-]* |
yes | The bank sort code |
Reference | xsd:string
(
max: 30)
Pattern: [A-Za-z0-9\-\' ]* |
no | An alpha-numeric reference sometimes referred to as 'roll number' used by some building societies. |
Example
<?xml version="1.0"?>
<BankAccount xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<AccountName>string</AccountName>
<AccountNumber>string</AccountNumber>
<SortCode>string</SortCode>
<Reference>string</Reference>
</BankAccount>
{
"BankAccount": {
"AccountName": "string",
"AccountNumber": "string",
"SortCode": "string",
"Reference": "string"
}
}