CashRefund
Version: v1.1.0
Supporting model
A request/response or nested model — not a stored DynamoDB entity.
Overview
Cash refund model
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
reference | str | ❌ | — | — |
date_refunded | str | ✅ | — | — |
amount_refunded | float | ✅ | — | — |
cash_refund_id | str | ❌ | — | — |
account | Account | ✅ | — | Account model |
credit_id | str | ✅ | — | — |
credit_display_id | str | ✅ | — | — |
dont_sync_to_xero | bool | ❌ | False | — |
created_at | str | ❌ | — | — |
updated_at | str | ❌ | — | — |
type | str | ❌ | CASH_REFUND | — |
Embedded models
Models embedded in the fields above — shown inline; they have no separate page.
Account — v5.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account_code | str | ❌ | — | — |
account_id | str | ✅ | — | — |
account_name | str | ✅ | — | — |
Change history
v5.0.0· 2025-05-26 · Cian (shared account) · Fieldaccount_codetype changed: str → Optional[str] (breaking).; Fieldaccount_codebecame optional. (509648ddf)v4.0.0· 2025-05-15 · Cian (shared account) · Fieldaccount_codetype changed: Optional[str] → str (breaking).; Fieldaccount_codebecame required (breaking). (bdb212c0f)v3.0.0· 2025-05-09 · Cian (shared account) · Fieldaccount_codetype changed: str → Optional[str] (breaking).; Fieldaccount_codebecame optional. (3a7865c16)v2.0.0· 2025-04-09 · Cian (shared account) · Fieldaccount_codetype changed: Optional[str] → str (breaking).; Fieldaccount_codebecame 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.1.0 · 2025-09-12 · Olaniyi Ajayi · e2ad92a30
account unique check
- Field
amount_refundedbecame optional. - Field
amount_refundeddefault changed: None → Field(..., ge=0).
v1.0.0 · 2025-03-16 · Cian (shared account) · feca668a3
models
- Initial version.
Generated from
dismantly-backend/Microservices/Invoice/dependencies/models.py. Do not edit by hand.