Debtor Data Model
Fields
Field | Description | Type | |
---|---|---|---|
companyName | Company name. | string, maxLength(100) | required |
currencyCode | Currency code. Value must be an existing currency code in Cloud Accounting web application. | string | required |
creditTerm | Credit term. Value must be an existing credit term in Cloud Accounting web application. | string | required |
info
companyName
, currencyCode
and accNo
fields are visible by default.
Optional Fields
Field | Description | Type |
---|---|---|
accNo | Customer 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) |
parentAccNo | Debtor control account number. Value must be an existing control account in Cloud Accounting web application. More information can be found here. | string |
desc2 | Alternate company name. | string, maxLength(100) |
registerNo | Company registration number. | string, maxLength(25) |
isActive | Debtor active flag. Affects lookup visibility in Cloud Accounting web application. | boolean |
address | Address. | string, maxLength(200) |
postCode | Post code. | string, maxLength(10) |
phone1 | Phone number. | string, maxLength(25) |
phone2 | Alternate phone number. | string, maxLength(25) |
fax1 | Fax number. | string, maxLength(25) |
fax2 | Alternate fax number. | string, maxLength(25) |
deliverAddress | Delivery address. | string, maxLength(200) |
deliverPostCode | Delivery post code. | string, maxLength(10) |
areaCode | Area code. Value must be an existing area code in Cloud Accounting web application. | string |
emailAddress | Email address. | string, maxLength(255) |
webURL | Debtor website url. | string, maxLength(80) |
attention | Customer name (for billing). | string, maxLength(40) |
natureOfBusiness | Nature of business. | string, maxLength(40) |
salesAgent | Sales agent. Value must be an existing sales agent in Cloud Accounting web application. | string |
taxCode | Tax code. Value must be an existing tax code in Cloud Accounting web application. More information can be found here. | string |
taxRegisterNo | Tax registration number. | string, maxLength(20) |
taxExemptionNo | Tax exemption number. | string, maxLength(60) |
taxExemptionExpiryDate | Tax exemption expiry date | date |
note | Document notes. (HTML) | string |