Suppliers v1
https://payandbill-cloud-api.azurewebsites.net/api/import/suppliers.v1.schema
Suppliers.v1 Import Layout
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Cannot be instantiated | Yes | Unknown status | Unknown identifiability | Forbidden | Allowed | none | suppliers.v1.schema.json |
Suppliers.v1 Type
object[]
Suppliers.v1 Definitions
Definitions group BankDetails
Reference this group by using
{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/suppliers.v1.schema#/definitions/BankDetails"}
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
BankSortCode | string | Optional | can be null | Suppliers v1 |
BankAccountNumber | string | Optional | can be null | Suppliers v1 |
BankAccountName | string | Optional | can be null | Suppliers v1 |
IBAN | string | Optional | can be null | Suppliers v1 |
BIC | string | Optional | can be null | Suppliers 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: Suppliers 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}$
BankAccountNumber
BankAccountNumber
is optional
Type:
string
can be null
defined in: Suppliers 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}$
BankAccountName
BankAccountName
is optional
Type:
string
can be null
defined in: Suppliers 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: Suppliers 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}
BIC
BIC
is optional
Type:
string
can be null
defined in: Suppliers 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})?$
Definitions group CISDetails
Reference this group by using
{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/suppliers.v1.schema#/definitions/CISDetails"}
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
CISUniqueTaxReference | string | Optional | can be null | Suppliers v1 |
CISLegalStatus | string | Optional | can be null | Suppliers v1 |
CISPartnershipName | string | Optional | can be null | Suppliers v1 |
CISPartnershipUTR | string | Optional | can be null | Suppliers v1 |
CISUniqueTaxReference
CISUniqueTaxReference
is optional
Type:
string
can be null
defined in: Suppliers 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: Suppliers v1
CISLegalStatus Type
string
CISLegalStatus Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
null | |
"SelfEmployed" | |
"LimitedCompany" | |
"Partnership" |
CISPartnershipName
CISPartnershipName
is optional
Type:
string
can be null
defined in: Suppliers 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: Suppliers v1
CISPartnershipUTR Type
string
CISPartnershipUTR Constraints
maximum length: the maximum number of characters for this string is: 10
Definitions group Partner
Reference this group by using
{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/suppliers.v1.schema#/definitions/Partner"}
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
PartnerName | string | Optional | can be null | Suppliers v1 |
PartnerDateOfBirth | string | Optional | can be null | Suppliers v1 |
PartnerNINumber | string | Optional | can be null | Suppliers v1 |
PartnerName
PartnerName
is optional
Type:
string
can be null
defined in: Suppliers 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: Suppliers 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: Suppliers v1
PartnerNINumber Type
string
PartnerNINumber Constraints
maximum length: the maximum number of characters for this string is: 9
Definitions group Supplier
Reference this group by using
{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/suppliers.v1.schema#/definitions/Supplier"}
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
EmployerRef | string | Required | cannot be null | Suppliers v1 |
SupplierRef | string | Required | cannot be null | Suppliers v1 |
LegalStatus | string | Optional | can be null | Suppliers v1 |
SupplierType | string | Optional | can be null | Suppliers v1 |
BusinessName | string | Required | cannot be null | Suppliers v1 |
Address | object | Optional | can be null | Suppliers v1 |
IncorporationDate | string | Optional | can be null | Suppliers v1 |
CompanyRegNo | string | Optional | can be null | Suppliers v1 |
VATNumber | string | Optional | can be null | Suppliers v1 |
VATCodeSource | string | Optional | can be null | Suppliers v1 |
DefaultVATRate | string | Optional | can be null | Suppliers v1 |
DivisionRef | string | Optional | can be null | Suppliers v1 |
DepartmentRef | string | Optional | can be null | Suppliers v1 |
PurchaseLedgerAccountNumber | string | Optional | can be null | Suppliers v1 |
PaymentOption | string | Optional | can be null | Suppliers v1 |
PaymentTermsValue | integer | Optional | can be null | Suppliers v1 |
PayMethod | string | Optional | can be null | Suppliers v1 |
CurrencyRef | string | Optional | can be null | Suppliers v1 |
IsSelfBillingEnabled | boolean | Optional | can be null | Suppliers v1 |
SelfBillingLogoFilename | string | Optional | can be null | Suppliers v1 |
SelfBillingInvoiceBreakLevel | string | Optional | can be null | Suppliers v1 |
SupplierNotes | string | Optional | can be null | Suppliers v1 |
EmailAddress | string | Optional | can be null | Suppliers v1 |
PayslipPrintMethod | string | Optional | can be null | Suppliers v1 |
IsPaidWhenPaid | boolean | Optional | can be null | Suppliers v1 |
TaxReferenceNumber | string | Optional | can be null | Suppliers v1 |
IsOn46GReport | boolean | Optional | can be null | Suppliers v1 |
BankDetails | object | Optional | can be null | Suppliers v1 |
CISDetails | object | Optional | can be null | Suppliers v1 |
Partners | array | Optional | can be null | Suppliers v1 |
EmployerRef
A record with this Employer Ref must already exist in the system.
EmployerRef
is required
Type:
string
cannot be null
defined in: Suppliers 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})$
SupplierRef
A record with this Supplier Ref may or may not already exist in the system.
SupplierRef
is required
Type:
string
cannot be null
defined in: Suppliers 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})$
LegalStatus
This is mandatory for new suppliers.
LegalStatus
is optional
Type:
string
can be null
defined in: Suppliers v1
LegalStatus Type
string
LegalStatus Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
null | |
"LimitedCompany" | |
"SelfEmployed" | |
"Partnership" | |
"CIS" |
SupplierType
Defaults to the Employer's Default Supplier Type if not specified.
SupplierType
is optional
Type:
string
can be null
defined in: Suppliers v1
SupplierType Type
string
SupplierType Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
null | |
"Contractor" | |
"Umbrella" | |
"ManagedAgency" |
BusinessName
BusinessName
is required
Type:
string
cannot be null
defined in: Suppliers 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: Suppliers v1
Address Type
object
IncorporationDate
IncorporationDate
is optional
Type:
string
can be null
defined in: Suppliers 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: Suppliers 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: Suppliers 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: Suppliers v1
VATCodeSource Type
string
VATCodeSource Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
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: Suppliers 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})$
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: Suppliers 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})$
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: Suppliers 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})$
PurchaseLedgerAccountNumber
PurchaseLedgerAccountNumber
is optional
Type:
string
can be null
defined in: Suppliers 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: Suppliers v1
PaymentOption Type
string
PaymentOption Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
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: Suppliers 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: Suppliers 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: Suppliers 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: Suppliers 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: Suppliers 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: Suppliers v1
SelfBillingInvoiceBreakLevel Type
string
SelfBillingInvoiceBreakLevel Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
null | |
"Supplier" | |
"Worker" | |
"Timesheet" |
SupplierNotes
General free format text relating to the supplier.
SupplierNotes
is optional
Type:
string
can be null
defined in: Suppliers 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: Suppliers 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: Suppliers v1
PayslipPrintMethod Type
string
PayslipPrintMethod Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
null | |
"Paper" | |
"Electronic" | |
"Both" |
IsPaidWhenPaid
Defaults to false if not supplied.
IsPaidWhenPaid
is optional
Type:
boolean
can be null
defined in: Suppliers v1
IsPaidWhenPaid Type
boolean
TaxReferenceNumber
Irish Payroll Only.
TaxReferenceNumber
is optional
Type:
string
can be null
defined in: Suppliers 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: Suppliers v1
IsOn46GReport Type
boolean
BankDetails
BankDetails
is optional
Type:
object
can be null
defined in: Suppliers v1
BankDetails Type
object
CISDetails
CISDetails
is optional
Type:
object
can be null
defined in: Suppliers v1
CISDetails Type
object
Partners
Partners
is optional
Type:
object[]
can be null
defined in: Suppliers v1
Partners Type
object[]
Definitions group WorkerAddress
Reference this group by using
{"$ref":"https://payandbill-cloud-api.azurewebsites.net/api/import/suppliers.v1.schema#/definitions/WorkerAddress"}
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
AddressLine1 | string | Optional | can be null | Suppliers v1 |
AddressLine2 | string | Optional | can be null | Suppliers v1 |
AddressLine3 | string | Optional | can be null | Suppliers v1 |
AddressLine4 | string | Optional | can be null | Suppliers v1 |
AddressLine5 | string | Optional | can be null | Suppliers v1 |
Postcode | string | Optional | can be null | Suppliers v1 |
Country | string | Optional | can be null | Suppliers v1 |
AddressLine1
Address Line 1 of the Address
AddressLine1
is optional
Type:
string
can be null
defined in: Suppliers 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: Suppliers 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: Suppliers 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: Suppliers 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: Suppliers 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: Suppliers 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: Suppliers v1
Country Type
string
Country Constraints
maximum length: the maximum number of characters for this string is: 40