Skip to main content

Debtor Data Model

Fields

FieldDescriptionType
companyNameCompany name.string, maxLength(100)required
currencyCodeCurrency code. Value must be an existing currency code in Cloud Accounting web application.stringrequired
creditTermCredit term. Value must be an existing credit term in Cloud Accounting web application.stringrequired
accNoCustomer code. Value must not be an existing account number in Chart of Account in Cloud Accounting web application. More information can be found here.string, maxLength(12)required in Update Debtor Method
parentAccNoDebtor control account number. Value must be an existing control account in Cloud Accounting web application. More information can be found here.stringrequired in Update Debtor Method
info

companyName, currencyCode and accNo fields are visible by default.

Optional Fields
FieldDescriptionType
desc2Alternate company name.string, maxLength(100)
registerNoCompany registration number.string, maxLength(25)
isActiveDebtor active flag. Affects lookup visibility in Cloud Accounting web application.boolean
addressAddress.string, maxLength(200)
postCodePost code.string, maxLength(10)
phone1Phone number.string, maxLength(25)
phone2Alternate phone number.string, maxLength(25)
fax1Fax number.string, maxLength(25)
fax2Alternate fax number.string, maxLength(25)
deliverAddressDelivery address.string, maxLength(200)
deliverPostCodeDelivery post code.string, maxLength(10)
areaCodeArea code. Value must be an existing area code in Cloud Accounting web application.string
emailAddressEmail address.string, maxLength(255)
webURLDebtor website url.string, maxLength(80)
attentionCustomer name (for billing).string, maxLength(40)
natureOfBusinessNature of business.string, maxLength(40)
salesAgentSales agent. Value must be an existing sales agent in Cloud Accounting web application.string
taxCodeTax code. Value must be an existing tax code in Cloud Accounting web application. More information can be found here.string
taxRegisterNoTax registration number.string, maxLength(20)
noteDocument notes. (HTML)string