- 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, andunknown, facilitating better organisation and reporting
Attributes
Contact Attributes
| Property | Type | Description |
|---|---|---|
| rootfi_id | integer | Unique identifier assigned by Commenda for this contact |
| rootfi_created_at | string | Timestamp when this record was created in Commenda’s system (ISO 8601) |
| rootfi_updated_at | string | Timestamp when this record was last updated in Commenda’s system (ISO 8601) |
| rootfi_company_id | integer | Company identifier this contact belongs to within Commenda |
| platform_id | string | Unique identifier for this contact in the source accounting platform |
| platform_unique_id | string | Alternative unique identifier from the platform (some platforms provide multiple IDs) |
| name | string | The name of the contact |
| contact_name | string | The name of the contact person for the contact |
| contact_type | enum | The type of contact |
| currency_id | string | The ISO-4217 currency code of the contact |
| tax_number | string | The contact’s tax number |
| registration_number | string | The contact’s identifying or registration number |
| status | enum | The status of the contact |
| updated_at | string | The date and time the contact was last updated |
| external_links | array | External links for the contact |
| phone_numbers | array | Phone numbers for the contact |
| addresses | array | Addresses for the contact |
Contact Type Enum Values
| Value | Description |
|---|---|
customer | Contact is a customer who receives invoices |
vendor | Contact is a vendor who provides bills |
both | Contact acts as both customer and vendor |
unknown | Type cannot be determined from the platform |
Status Enum Values
| Value | Description |
|---|---|
active | Contact is active and in good standing |
inactive | Contact has been voluntarily deactivated |
suspended | Contact is suspended due to payment/fraud issues |
archived | Contact has been archived for record-keeping |
unknown | Status cannot be determined from the platform |
Expandable Attributes
Use theexpand query parameter to include related objects:
expand=currency- Includes full Currency object detailsexpand=phone_numbers- Includes all PhoneNumber objectsexpand=addresses- Includes all Address objectsexpand=external_links- Includes all ExternalLink objectsexpand=invoices- Includes all Invoice objects for this contactexpand=bills- Includes all Bill objects for this contactexpand=invoice_payments- Includes all InvoicePayment objects for this contactexpand=bill_payments- Includes all BillPayment objects for this contactexpand=expenses- Includes all Expense objects for this contactexpand=purchase_orders- Includes all PurchaseOrder objects for this contactexpand=sales_orders- Includes all SalesOrder objects for this contactexpand=bank_transactions- Includes all BankTransaction objects for this contact
Properties Supported
| Property | Type | Description |
|---|---|---|
| platform_id | string | The Platform’s ID for the contact |
| name | string | The name of the contact |
| contact_name | string | The name of the contact person for the contact |
| contact_type | enum | The type of contact |
| currency_id | string | The ISO-4217 currency code of the contact |
| tax_number | string | The contact’s tax number |
| registration_number | string | The contact’s identifying or registration number |
| status | enum | The status of the contact |
| string | The email address of the contact | |
| website | string | The website URL of the contact |
| telephone | string | The telephone number of the contact |
| mobile | string | The mobile phone number of the contact |
| fax | string | The fax number of the contact |
| addresses | array | Addresses for the contact |
| updated_at | string | The date and time the contact was last updated |
Phone Numbers
| Property | Type | Description |
|---|---|---|
| platform_id | string | The Platform's ID for the phone number |
| data_model | string | The data model to which this number is linked. Values are: COMPANY_INFO, CONTACTS |
| data_model_id | string | The unique identifier for the data model associated with this number |
| number | string | The number of the contact person. |
| type | enum | The type of the number. Values are: MOBILE, TELEPHONE, FAX. |
| updated_at | date | The date and time at which the number information was last updated in the accounting platform |
Addresses
| Property | Type | Description |
|---|---|---|
| platform_id | string | Platform's ID for the address |
| type | enum | The type of address. Values are: BILLING, SHIPPING. |
| data_model | string | The data model to which this address is linked. Values are COMPANY_INFO, CONTACTS, INVOICES, BILLS, EXPENSES, BILL_CREDIT_NOTES, INVOICE_CREDIT_NOTES, SALES_ORDERS, PURCHASE_ORDERS |
| data_model_id | string | The unique identifier for the data model associated with this address |
| street | string | The street information of the address |
| locality | string | The locality or neighborhood information of the address |
| city | string | The city information of the address |
| state | string | The state or region information of the address |
| country | string | The country information of the address |
| pincode | string | The postal or zip code of the address |
| updated_at | date | The date and time at which the address information was last updated in the accounting platform |
External Links
| Property | Type | Description |
|---|---|---|
| platform_id | string | The Platform's ID for the external link |
| data_model | string | The data model to which this link is related. Values are: COMPANY_INFO, CONTACTS |
| data_model_id | string | The unique identifier for the data model associated with this link |
| link | string | The URL or email data. |
| type | enum | The type of link. Values are: WEBSITE, EMAIL. |
| updated_at | date | The date and time at which the link information was last updated in the accounting platform |