Link

Contact Operations

The following parameters are required to create or update a contact

FieldTypeDescription
Name *StringFull name of contact/organisation (max length = 255), Required
FirstNameStringFirst name of contact person (max length = 255)
LastNameStringLast name of contact person (max length = 255)
EmailAddressStringEmail address of contact person (umlauts not supported) (max length = 255)
TaxNumberStringTax 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)
AccountsReceivableTaxTypeStringDefault tax type used for contact on AR invoices
PaymentTermsPaymentTermWrapperThe default payment terms for the contact - see PaymentTermWrapper fields below
BillingAttentionToStringmax length = 255
BillingStreetStringmax length = 500
BillingCityStringmax length = 255
BillingStateStringmax length = 255
BillingCountryStringmax length = 50, [A-Z], [a-z] only
BillingPostalCodeStringmax length = 50
PhoneStringPhone number of contact
ContactIDStringXero identifier , requries while updating
PaymentTermWrapper FieldsType
SalesBillsOrSalesWrapper
BillsOrSalesWrapper FieldsTypeDescription
DayInteger 
TypeStringPayment Terms (DAYSAFTERBILLDATE, DAYSAFTERBILLMONTH, OFCURRENTMONTH, OFFOLLOWINGMONTH)

Table of contents