pub struct ConfirmationResponse {Show 14 fields
pub response_id: Uuid,
pub response_ref: String,
pub confirmation_id: Uuid,
pub engagement_id: Uuid,
pub response_date: NaiveDate,
pub confirmed_balance: Option<Decimal>,
pub response_type: ResponseType,
pub has_exception: bool,
pub exception_amount: Option<Decimal>,
pub exception_description: Option<String>,
pub reconciled: bool,
pub reconciliation_explanation: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Response received from a confirming party per ISA 505.
Records the details of what the confirming party stated, any exceptions, and whether the auditor has reconciled differences to the book balance.
Fields§
§response_id: UuidUnique response ID
response_ref: StringHuman-readable reference (e.g. “RESP-a1b2c3d4”)
confirmation_id: UuidThe confirmation this response relates to
engagement_id: UuidEngagement this response belongs to
response_date: NaiveDateDate the response was received
confirmed_balance: Option<Decimal>Balance stated by the confirming party (None for blank forms not filled in)
response_type: ResponseTypeNature of the response
has_exception: boolWhether the confirming party noted any exceptions
exception_amount: Option<Decimal>Monetary value of the noted exception, if any
exception_description: Option<String>Description of the exception
reconciled: boolWhether differences have been reconciled
reconciliation_explanation: Option<String>Explanation of the reconciliation
created_at: DateTime<Utc>§updated_at: DateTime<Utc>Implementations§
Source§impl ConfirmationResponse
impl ConfirmationResponse
Sourcepub fn new(
confirmation_id: Uuid,
engagement_id: Uuid,
response_date: NaiveDate,
response_type: ResponseType,
) -> Self
pub fn new( confirmation_id: Uuid, engagement_id: Uuid, response_date: NaiveDate, response_type: ResponseType, ) -> Self
Create a new confirmation response.
Sourcepub fn with_confirmed_balance(self, balance: Decimal) -> Self
pub fn with_confirmed_balance(self, balance: Decimal) -> Self
Record the balance confirmed by the third party.
Sourcepub fn with_exception(self, amount: Decimal, description: &str) -> Self
pub fn with_exception(self, amount: Decimal, description: &str) -> Self
Record an exception noted by the confirming party.
Trait Implementations§
Source§impl Clone for ConfirmationResponse
impl Clone for ConfirmationResponse
Source§fn clone(&self) -> ConfirmationResponse
fn clone(&self) -> ConfirmationResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more