Skip to main content

CashRefundModel

Version: v1.2.0

Stored entity

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

Overview​

Cash refund model

Fields​

FieldTypeRequiredDefaultDescription
skstr✅——
pkstr✅——
tenant_idstr✅——
created_atstr✅——
updated_atstr✅——
referencestr❌——
date_refundedstr✅——
amount_refundedfloat✅——
cash_refund_display_idstr✅——
cash_refund_idstr✅——
credit_idstr✅——
credit_display_idstr✅——
accountAccount✅—Account model
dont_sync_to_xerobool❌False—
typestr❌CASH_REFUND—

Embedded models​

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

Account — v5.0.0
FieldTypeRequiredDefaultDescription
account_codestr❌——
account_idstr✅——
account_namestr✅——

Change history

  • v5.0.0 · 2025-05-26 · Cian (shared account) · Field account_code type changed: str → Optional[str] (breaking).; Field account_code became optional. (509648ddf)
  • v4.0.0 · 2025-05-15 · Cian (shared account) · Field account_code type changed: Optional[str] → str (breaking).; Field account_code became required (breaking). (bdb212c0f)
  • v3.0.0 · 2025-05-09 · Cian (shared account) · Field account_code type changed: str → Optional[str] (breaking).; Field account_code became optional. (3a7865c16)
  • v2.0.0 · 2025-04-09 · Cian (shared account) · Field account_code type changed: Optional[str] → str (breaking).; Field account_code became required (breaking). (6c65e2d22)
  • v1.0.0 · 2025-03-15 · Olaniyi Ajayi · Initial version. (338416124)

APIs / Triggers​

No API or event interacts with this object directly.

Change history​

v1.2.0 · 2025-09-12 · Olaniyi Ajayi · e2ad92a30

account unique check

  • Field amount_refunded became optional.
  • Field amount_refunded default changed: None → Field(..., ge=0).
v1.1.0 · 2025-05-16 · Olaniyi Ajayi · 7dbe807a6

fx

  • Field type became optional.
  • Field type default changed: None → 'CASH_REFUND'.
v1.0.0 · 2025-03-15 · Olaniyi Ajayi · 338416124

fx

  • 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