Skip to main content

Contact

Version: v2.0.0

Stored entity

Partition key pk, sort key sk • discriminator type = "CONTACT"

Overview

Contact Model

Fields

FieldTypeRequiredDefaultDescription
pkstr
skstr
contact_idstr
tenant_idstr
contact_namestr
contact_emailstr
contact_phonestr
contact_statusstr
is_business_contactboolFalse
is_capricorn_memberboolFalse
is_on_holdboolFalse
on_hold_atstr
is_hiddenbool
typestrCONTACT
account_numberstr
payment_typePaymentType (ACCOUNT, CASH, CAPRICORN)PaymentType
primary_peopleList[PrimaryPerson]
delivery_addressAddressAddress model
same_as_delivery_addressbool
billing_addressAddressAddress model
notestr
credit_limitfloat
block_new_invoice_if_credit_exceededboolFalse
line_item_tax_typeLineItemTaxType (EXCLUSIVE, INCLUSIVE, NO_TAX)LineItemTaxType
sales_accountSalesAccountAccount
default_due_datestr
contact_typeContactType (CUSTOMER, SUPPLIER, BOTH)ContactType
created_atstr
updated_atstr

Embedded models

Models embedded in the fields above — shown inline; they have no separate page.

PrimaryPerson — v2.0.0
FieldTypeRequiredDefaultDescription
primary_person_idstr
primary_person_first_namestr
primary_person_last_namestr
primary_person_emailstr
positionPosition (SALES, ACCOUNTS, MANAGER)Position
include_in_emailsboolFalse

Change history

  • v2.0.0 · 2025-07-17 · Cian (shared account) · Added optional field position.; Field include_in_emails type changed: bool → Optional[bool] (breaking).; Field include_in_emails became optional.; Field include_in_emails default changed: None → False. (532bbaa1e)
  • v1.0.0 · 2025-06-26 · Cian (shared account) · Initial version. (5fb8ae8ad)
Address — v1.0.0
FieldTypeRequiredDefaultDescription
address_line_1str
address_line_2str
attentionstr
citystr
countrystr
postal_codestr
regionstr

Change history

  • v1.0.0 · 2025-03-15 · Olaniyi Ajayi · Initial version. (338416124)
SalesAccount — v1.0.0
FieldTypeRequiredDefaultDescription
account_idstr
account_namestr

Change history

  • v1.0.0 · 2025-07-17 · Cian (shared account) · Initial version. (532bbaa1e)

APIs / Triggers

No API or event interacts with this object directly.

Change history

v2.0.0 · 2025-07-17 · Cian (shared account) · 532bbaa1e

fx

  • Added optional field block_new_invoice_if_credit_exceeded.
  • Added optional field contact_type.
  • Added optional field credit_limit.
  • Added optional field default_due_date.
  • Added optional field line_item_tax_type.
  • Added optional field note.
  • Added optional field on_hold_at.
  • Added optional field sales_account.
  • Added required field updated_at.
  • Field is_business_contact type changed: bool → Optional[bool] (breaking).
  • Field is_business_contact became optional.
  • Field is_business_contact default changed: None → False.
  • Field is_capricorn_member type changed: bool → Optional[bool] (breaking).
  • Field is_capricorn_member became optional.
  • Field is_capricorn_member default changed: None → False.
  • Field is_on_hold type changed: bool → Optional[bool] (breaking).
  • Field is_on_hold became optional.
  • Field is_on_hold default changed: None → False.
  • Field payment_type type changed: Optional[str] → Optional[PaymentType] (breaking).
  • Field payment_type enum value ACCOUNT added.
  • Field payment_type enum value CAPRICORN added.
  • Field payment_type enum value CASH added.
  • Field primary_people type changed: list[PrimaryPerson] → List[PrimaryPerson] (breaking).
  • Field type became optional.
  • Field type default changed: None → 'CONTACT'.
v1.0.0 · 2025-06-26 · Cian (shared account) · 5fb8ae8ad

work order create

  • Initial version.

Generated from dismantly-backend/Microservices/Invoice/dependencies/models.py. Do not edit by hand.

Models last synced: 2026-06-23 13:21 UTC