PaymentModel
Version: v2.0.0
Stored entity
Partition key pk, sort key sk
Overview
Xero Payment model for validation
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
pk | str | ✅ | — | — |
sk | str | ✅ | — | — |
tenant_id | str | ✅ | — | — |
invoice_id | str | ❌ | — | — |
payment_id | str | ✅ | — | — |
type | str | ✅ | — | — |
status | str | ✅ | — | — |
error | str | ❌ | — | — |
updated_at | str | ✅ | — | — |
created_at | str | ✅ | — | — |
xero_payment_id | str | ❌ | — | — |
APIs / Triggers
No API or event interacts with this object directly.
Change history
v2.0.0 · 2026-02-17 · Olaniyi Ajayi · 114ce7cdd
Add function to retrieve Dismantly account from Xero ID
- Field
invoice_idtype changed: str → Optional[str] (breaking). - Field
invoice_idbecame optional.
v1.0.0 · 2025-12-23 · Olaniyi Ajayi · 2917b804f
Add new validation workflows for Xero microservice, including functions for fetching tenants, tenant records, and generating final reports. Implement state machines with error handling and pagination in ASL definitions for invoice, payment, credit note, and contact validations.
- Initial version.
Generated from
dismantly-backend/Microservices/Xero/dependencies/models.py. Do not edit by hand.