contact_id |
String |
Xero identifier |
[optional] |
contact_number |
String |
This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. |
[optional] |
account_number |
String |
A user defined account number. This can be updated via the API and the Xero UI (max length = 50) |
[optional] |
contact_status |
String |
Current status of a contact – see contact status types |
[optional] |
name |
String |
Full name of contact/organisation (max length = 255) |
[optional] |
first_name |
String |
First name of contact person (max length = 255) |
[optional] |
last_name |
String |
Last name of contact person (max length = 255) |
[optional] |
email_address |
String |
Email address of contact person (umlauts not supported) (max length = 255) |
[optional] |
skype_user_name |
String |
Skype user name of contact |
[optional] |
contact_persons |
Array<ContactPerson> |
See contact persons |
[optional] |
bank_account_details |
String |
Bank account number of contact |
[optional] |
tax_number |
String |
Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) |
[optional] |
accounts_receivable_tax_type |
String |
The tax type from TaxRates |
[optional] |
accounts_payable_tax_type |
String |
The tax type from TaxRates |
[optional] |
addresses |
Array<Address> |
Store certain address types for a contact – see address types |
[optional] |
phones |
Array<Phone> |
Store certain phone types for a contact – see phone types |
[optional] |
is_supplier |
Boolean |
true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. |
[optional] |
is_customer |
Boolean |
true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. |
[optional] |
default_currency |
CurrencyCode |
|
[optional] |
xero_network_key |
String |
Store XeroNetworkKey for contacts. |
[optional] |
sales_default_account_code |
String |
The default sales account code for contacts |
[optional] |
purchases_default_account_code |
String |
The default purchases account code for contacts |
[optional] |
sales_tracking_categories |
Array<SalesTrackingCategory> |
The default sales tracking categories for contacts |
[optional] |
purchases_tracking_categories |
Array<SalesTrackingCategory> |
The default purchases tracking categories for contacts |
[optional] |
tracking_category_name |
String |
The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
[optional] |
tracking_category_option |
String |
The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
[optional] |
payment_terms |
PaymentTerm |
|
[optional] |
updated_date_utc |
DateTime |
UTC timestamp of last update to contact |
[optional] |
contact_groups |
Array<ContactGroup> |
Displays which contact groups a contact is included in |
[optional] |
website |
String |
Website address for contact (read only) |
[optional] |
branding_theme |
BrandingTheme |
|
[optional] |
batch_payments |
BatchPaymentDetails |
|
[optional] |
discount |
BigDecimal |
The default discount rate for the contact (read only) |
[optional] |
balances |
Balances |
|
[optional] |
attachments |
Array<Attachment> |
Displays array of attachments from the API |
[optional] |
has_attachments |
Boolean |
A boolean to indicate if a contact has an attachment |
[optional] [default to false] |
validation_errors |
Array<ValidationError> |
Displays validation errors returned from the API |
[optional] |
has_validation_errors |
Boolean |
A boolean to indicate if a contact has an validation errors |
[optional] [default to false] |
status_attribute_string |
String |
Status of object |
[optional] |