Skip to main content

PaymentModel

Version: v2.0.0

Stored entity

Partition key pk, sort key sk

Overview

Xero Payment model for validation

Fields

FieldTypeRequiredDefaultDescription
pkstr
skstr
tenant_idstr
invoice_idstr
payment_idstr
typestr
statusstr
errorstr
updated_atstr
created_atstr
xero_payment_idstr

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_id type changed: str → Optional[str] (breaking).
  • Field invoice_id became 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.

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