Creditor 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 |
accNo | Supplier 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 Creditor Method |
parentAccNo | Creditor control account number. Value must be an existing control account in Cloud Accounting web application. More information can be found here. | string | required in Update Creditor Method |
info
companyName
, currencyCode
and accNo
fields are visible by default.
Optional Fields
Parameter | Description | Type |
---|---|---|
desc2 | Alternate company name. | string, maxLength(100) |
registerNo | Company registration number. | string, maxLength(25) |
isActive | Creditor 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) |
areaCode | Area code. Value must be an existing area code in Cloud Accounting web application. | string |
emailAddress | Email address. | string, maxLength(255) |
webURL | Creditor website url. | string, maxLength(80) |
attention | Customer name (for billing). | string, maxLength(40) |
natureOfBusiness | Nature of business. | string, maxLength(40) |
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) |
note | Document notes. (HTML) | string |