pub struct ExternalConfirmation {Show 16 fields
pub confirmation_id: Uuid,
pub confirmation_ref: String,
pub engagement_id: Uuid,
pub workpaper_id: Option<Uuid>,
pub confirmation_type: ConfirmationType,
pub recipient_name: String,
pub recipient_type: RecipientType,
pub account_id: Option<String>,
pub book_balance: Decimal,
pub confirmation_date: NaiveDate,
pub sent_date: Option<NaiveDate>,
pub response_deadline: Option<NaiveDate>,
pub status: ConfirmationStatus,
pub positive_negative: ConfirmationForm,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
External confirmation request per ISA 505.
Tracks the full lifecycle of a confirmation from draft through to completion, including the balance under confirmation and key dates.
Fields§
§confirmation_id: UuidUnique confirmation ID
confirmation_ref: StringHuman-readable reference (e.g. “CONF-a1b2c3d4”)
engagement_id: UuidEngagement this confirmation belongs to
workpaper_id: Option<Uuid>Optional linked workpaper
confirmation_type: ConfirmationTypeType of balance or matter being confirmed
recipient_name: StringName of the confirming party
recipient_type: RecipientTypeCategory of confirming party
account_id: Option<String>Account or reference number at the confirming party
book_balance: DecimalBalance per the client’s books
confirmation_date: NaiveDateDate the balance relates to
sent_date: Option<NaiveDate>Date the request was dispatched
response_deadline: Option<NaiveDate>Deadline by which a response is required
status: ConfirmationStatusCurrent lifecycle status
positive_negative: ConfirmationFormPositive, negative, or blank form
created_at: DateTime<Utc>§updated_at: DateTime<Utc>Implementations§
Source§impl ExternalConfirmation
impl ExternalConfirmation
Sourcepub fn new(
engagement_id: Uuid,
confirmation_type: ConfirmationType,
recipient_name: &str,
recipient_type: RecipientType,
book_balance: Decimal,
confirmation_date: NaiveDate,
) -> Self
pub fn new( engagement_id: Uuid, confirmation_type: ConfirmationType, recipient_name: &str, recipient_type: RecipientType, book_balance: Decimal, confirmation_date: NaiveDate, ) -> Self
Create a new external confirmation request.
Sourcepub fn with_workpaper(self, workpaper_id: Uuid) -> Self
pub fn with_workpaper(self, workpaper_id: Uuid) -> Self
Link to a workpaper.
Sourcepub fn with_account(self, account_id: &str) -> Self
pub fn with_account(self, account_id: &str) -> Self
Set the account or reference number at the confirming party.
Trait Implementations§
Source§impl Clone for ExternalConfirmation
impl Clone for ExternalConfirmation
Source§fn clone(&self) -> ExternalConfirmation
fn clone(&self) -> ExternalConfirmation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more