# CashJournal

A cash journal transfer. Funds are moved from a source account to a destination account

## Example Usage

```typescript
import { CashJournal } from "@apexfintechsolutions/ascend-sdk/models/components";

let value: CashJournal = {};
```

## Fields

| Field                                                                                                                                                              | Type                                                                                                                                                               | Required                                                                                                                                                           | Description                                                                                                                                                        | Example                                                                                                                                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `amount`                                                                                                                                                           | [components.CashJournalAmount](../../models/components/cashjournalamount.md)                                                                                       | :heavy_minus_sign:                                                                                                                                                 | The amount to transfer in USD                                                                                                                                      | {<br/>"value": "100.00"<br/>}                                                                                                                                      |
| `clientTransferId`                                                                                                                                                 | *string*                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                 | The external identifier supplied by the API caller Each request must have a unique pairing of `client_transfer_id` and `source_account`                            | 113bw03-49f8-4525-934c-560fb39dg2kd                                                                                                                                |
| `destinationAccount`                                                                                                                                               | *string*                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                 | The account that funds will be moved to                                                                                                                            | accounts/01H8FB90ZRRFWXB4XC2JPJ1D4Y                                                                                                                                |
| `name`                                                                                                                                                             | *string*                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                 | The resource name of the cash journal                                                                                                                              | cashJournals/20240712000323                                                                                                                                        |
| `partyType`                                                                                                                                                        | [components.PartyType](../../models/components/partytype.md)                                                                                                       | :heavy_minus_sign:                                                                                                                                                 | Whether a cash journal is first party or third party Determined asynchronously when the transfer is processing, and will be set by the time the transfer is posted | FIRST_PARTY                                                                                                                                                        |
| `retirementContribution`                                                                                                                                           | [components.CashJournalRetirementContribution](../../models/components/cashjournalretirementcontribution.md)                                                       | :heavy_minus_sign:                                                                                                                                                 | The retirement contribution details Must be provided when the destination account is a retirement account                                                          |                                                                                                                                                                    |
| `retirementDistribution`                                                                                                                                           | [components.CashJournalRetirementDistribution](../../models/components/cashjournalretirementdistribution.md)                                                       | :heavy_minus_sign:                                                                                                                                                 | The retirement distribution details Must be provided when the source account is a retirement account                                                               |                                                                                                                                                                    |
| `sourceAccount`                                                                                                                                                    | *string*                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                 | The account that funds will be moved from                                                                                                                          | accounts/01H8FM6EXVH77SAW3TC8KAWMES                                                                                                                                |
| `state`                                                                                                                                                            | [components.CashJournalState](../../models/components/cashjournalstate.md)                                                                                         | :heavy_minus_sign:                                                                                                                                                 | The current state of the cash journal                                                                                                                              |                                                                                                                                                                    |