Skip to main content

Payment

Version: v4.1.0

Supporting model

A request/response or nested model — not a stored DynamoDB entity.

Overview

Payment model

Fields

FieldTypeRequiredDefaultDescription
amount_paidfloat
invoice_idstr
accountPaymentAccountPayment Account model
date_paidstr
referencestr
dont_sync_to_xeroboolFalse
payment_typestr

Embedded models

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

PaymentAccount — v5.0.0
FieldTypeRequiredDefaultDescription
codestr
namestr
account_idstr

Change history

  • v5.0.0 · 2025-05-26 · Cian (shared account) · Field code type changed: str → Optional[str] (breaking).; Field code became optional. (579cb1f46)
  • v4.0.0 · 2025-05-15 · Cian (shared account) · Field code type changed: Optional[str] → str (breaking).; Field code became required (breaking). (bdb212c0f)
  • v3.0.0 · 2025-05-09 · Cian (shared account) · Field code type changed: str → Optional[str] (breaking).; Field code became optional. (3a7865c16)
  • v2.0.0 · 2025-04-09 · Cian (shared account) · Field code type changed: Optional[str] → str (breaking).; Field 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

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_paid type changed: datetime → str (breaking).
v3.0.0 · 2025-07-28 · Cian (shared account) · de984fc8a

fx

  • Field date_paid type changed: str → datetime (breaking).
v2.0.0 · 2025-07-26 · Olaniyi Ajayi · 25f5e56a9

fx

  • Field date_paid type 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.

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