Payment
Version: v4.1.0
Supporting model
A request/response or nested model — not a stored DynamoDB entity.
Overview
Payment model
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
amount_paid | float | ✅ | — | — |
invoice_id | str | ✅ | — | — |
account | PaymentAccount | ✅ | — | Payment Account model |
date_paid | str | ✅ | — | — |
reference | str | ❌ | — | — |
dont_sync_to_xero | bool | ❌ | False | — |
payment_type | str | ❌ | — | — |
Embedded models
Models embedded in the fields above — shown inline; they have no separate page.
PaymentAccount — v5.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
code | str | ❌ | — | — |
name | str | ✅ | — | — |
account_id | str | ✅ | — | — |
Change history
v5.0.0· 2025-05-26 · Cian (shared account) · Fieldcodetype changed: str → Optional[str] (breaking).; Fieldcodebecame optional. (579cb1f46)v4.0.0· 2025-05-15 · Cian (shared account) · Fieldcodetype changed: Optional[str] → str (breaking).; Fieldcodebecame required (breaking). (bdb212c0f)v3.0.0· 2025-05-09 · Cian (shared account) · Fieldcodetype changed: str → Optional[str] (breaking).; Fieldcodebecame optional. (3a7865c16)v2.0.0· 2025-04-09 · Cian (shared account) · Fieldcodetype changed: Optional[str] → str (breaking).; Fieldcodebecame 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
v4.1.0 · 2026-04-12 · Cian (shared account) · 86f7fd78b
Persist payment_type on invoice payments and paid settlements
- Added optional field
payment_type.
v4.0.0 · 2025-07-28 · Cian (shared account) · 0eb204368
fx
- Field
date_paidtype changed: datetime → str (breaking).
v3.0.0 · 2025-07-28 · Cian (shared account) · de984fc8a
fx
- Field
date_paidtype changed: str → datetime (breaking).
v2.0.0 · 2025-07-26 · Olaniyi Ajayi · 25f5e56a9
fx
- Field
date_paidtype changed: datetime → str (breaking).
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.