API Docs / Schemas / ContactDto

ContactDto

A contact: a person or organisation the tenant does business with, in one or more roles. Customers are
invoiced by the tenant; suppliers invoice the tenant; CIS subcontractors are suppliers paid under the
Construction Industry Scheme. The role-specific parts (CIS identity and verification, supplier settings) are
present only for the roles the contact holds.

Properties

Name Type Description
code*string

Unique code within the tenant (uppercase letters and digits, up to 20). Generated on creation.

Unique code within the tenant (uppercase letters and digits, up to 20). Generated on creation.

displayName*string

Display name of the contact

Display name of the contact

isCustomer*boolean

Whether the tenant invoices this contact

Whether the tenant invoices this contact

isSupplier*boolean

Whether this contact invoices the tenant. Always true for a CIS subcontractor.

Whether this contact invoices the tenant. Always true for a CIS subcontractor.

isCisSubcontractor*boolean

Whether the tenant pays this contact under the Construction Industry Scheme

Whether the tenant pays this contact under the Construction Industry Scheme

titlestring

Title (e.g. Mr, Mrs, Ms)

Title (e.g. Mr, Mrs, Ms)

firstNamestring

First name

First name

secondNamestring

Second (middle) name

Second (middle) name

lastNamestring

Last name

Last name

emailAddressstring

Email address

Email address

telephonestring

Telephone number

Telephone number

address*AddressDto

Postal address

Postal address

isVatRegistered*boolean

Whether the contact is VAT registered

Whether the contact is VAT registered

vatRegistrationNumberstring

VAT registration number

VAT registration number

defaultRatenumber

Default rate for the contact

Default rate for the contact

externalIdstring

Your own identifier for the contact, set on creation

Your own identifier for the contact, set on creation

lastSdcstring

Date of the most recent SDC (Supervision, Direction and Control) questionnaire. Maintained by the system.

Date of the most recent SDC (Supervision, Direction and Control) questionnaire. Maintained by the system.

cisDetailsCisDetailsDto

CIS identity details. Present only for a CIS subcontractor.

CIS identity details. Present only for a CIS subcontractor.

supplierSettingsSupplierSettingsDto

Defaults for the invoices received from the contact. Present only for a supplier.

Defaults for the invoices received from the contact. Present only for a supplier.

verificationSubcontractorVerificationDto

Current CIS verification (read-only). Present only for a CIS subcontractor.

Current CIS verification (read-only). Present only for a CIS subcontractor.

invoicing*ContactInvoicingDto

The invoices received from and issued to the contact (read-only)

The invoices received from and issued to the contact (read-only)

createdDate*string

When the contact was created

When the contact was created

updatedDatestring

When the contact was last updated

When the contact was last updated

JSON Example

{
  "code": "string",
  "displayName": "string",
  "isCustomer": false,
  "isSupplier": false,
  "isCisSubcontractor": false,
  "address": {
    "line1": "string",
    "line2": "string",
    "line3": "string",
    "line4": "string",
    "postcode": "string"
  },
  "isVatRegistered": false,
  "invoicing": {
    "in": "...",
    "out": "..."
  },
  "createdDate": "2024-01-01T00:00:00Z"
}

Used By Operations

Contained in Schemas