AllocateCredit
Version: v1.0.0
Supporting model
A request/response or nested model — not a stored DynamoDB entity.
Overview
Allocate credit model
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
invoice_id | str | ✅ | — | — |
invoice_display_id | str | ✅ | — | — |
date | str | ✅ | — | — |
allocations | List[Allocation] | ✅ | — | — |
updated_at | str | ❌ | — | — |
Embedded models
Models embedded in the fields above — shown inline; they have no separate page.
Allocation — v2.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
credit_id | str | ✅ | — | — |
amount | float | ✅ | — | — |
dont_sync_to_xero | bool | ❌ | False | — |
Change history
v2.0.0· 2025-03-16 · Cian (shared account) · Removed fieldallocation_id(breaking).; Removed fielddate(breaking).; Removed fieldinvoice_display_id(breaking).; Removed fieldinvoice_id(breaking).; Added required fieldcredit_id.; Added optional fielddont_sync_to_xero. (feca668a3)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.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.