Skip to main content
The Contacts Data Model represents an individual or company that buys or sells goods or services from a business. This unified model simplifies handling contact-related information across various accounting platforms.
  • Unified contact properties: Essential contact details like name, contact person, currency, and tax number are standardized across different accounting platforms
  • Comprehensive contact information: Contacts can include associated data like contact persons, phone numbers, addresses, and external links for a more detailed representation of each contact
  • Status tracking: The model supports tracking the status of each contact, with values like ACTIVE, INACTIVE, SUSPENDED, ARCHIVED, and UNKNOWN, facilitating better organisation and reporting

Attributes

Contacts Attributes

PropertyTypeDescription
rootfi_idintegerUnique identifier assigned by Commenda for this contact
rootfi_created_atstringTimestamp when this record was created in Commenda’s system (ISO 8601)
rootfi_updated_atstringTimestamp when this record was last updated in Commenda’s system (ISO 8601)
rootfi_integration_typeenum
platform_idstringUnique identifier for this contact in the source accounting platform
namestringThe name of the contact
contact_namestringThe name of the contact person for the contact
emailstring
phonestring
tax_numberstringThe contact’s tax number
typeenumThe type of contact
statusenumThe status of the contact
currency_idenumThe ISO-4217 currency code of the contact
registration_numberstringThe contact’s identifying or registration number
websitestring
created_atstring
updated_atstringThe date and time the contact was last updated

Type Enum Values

ValueDescription
CUSTOMERContact is a customer who receives invoices
VENDORContact is a vendor who provides bills
BOTHContact acts as both customer and vendor
UNKNOWNType cannot be determined from the platform

Status Enum Values

ValueDescription
ACTIVEContact is active and in good standing
INACTIVEContact has been voluntarily deactivated
SUSPENDEDContact is suspended due to payment/fraud issues
ARCHIVEDContact has been archived for record-keeping
UNKNOWNStatus cannot be determined from the platform

Expandable Attributes

Use the expand query parameter to include related objects:
  • expand=addresses — includes the related Addresses object(s).
  • expand=phone_numbers — includes the related Phone Numbers object(s).
  • expand=external_links — includes the related External Links object(s).

Properties Supported

Fields accepted when creating or updating a record:
PropertyTypeDescription
platform_idstringUnique identifier for this contact in the source accounting platform
namestringThe name of the contact
contact_namestringThe name of the contact person for the contact
emailstring
phonestring
tax_numberstringThe contact’s tax number
typeenumThe type of contact
statusenumThe status of the contact
currency_idenumThe ISO-4217 currency code of the contact
registration_numberstringThe contact’s identifying or registration number
websitestring
created_atstring
updated_atstringThe date and time the contact was last updated