# GLJournalEntry

Represents a general ledger journal entry.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accountKey** | **string** | The account associated with this journal entry. &#x60;Null&#x60; if the journal entry is not associated to any account. | [optional] [default to undefined]
**amount** | **number** | The amount which was debited or credited in the organization\&#39;s currency. | [optional] [default to undefined]
**assignedBranchKey** | **string** | The key of the assigned branch for this general ledger journal entry. | [optional] [default to undefined]
**bookingDate** | **string** | The date and time when the general ledger journal entry was recorded. | [optional] [default to undefined]
**creationDate** | **string** | The creation date of the general ledger journal entry. | [optional] [readonly] [default to undefined]
**encodedKey** | **string** | The encoded key of the entity, generated, globally unique | [optional] [readonly] [default to undefined]
**entryID** | **number** | The ID of the general ledger journal entry. | [optional] [readonly] [default to undefined]
**foreignAmount** | [**GLJournalEntryForeignAmount**](GLJournalEntryForeignAmount.md) |  | [optional] [default to undefined]
**glAccount** | [**GLAccount**](GLAccount.md) |  | [optional] [default to undefined]
**notes** | **string** | Optional notes entered by the user when they performed the journal entry. | [optional] [default to undefined]
**productKey** | **string** | The product associated with this journal entry. &#x60;Null&#x60; if the journal entry is not associated with any product. | [optional] [default to undefined]
**productType** | **string** | The product type that is referenced by the account key. &#x60;Null&#x60; if the journal entry is not associated to any product. | [optional] [default to undefined]
**reversalEntryKey** | **string** | The entry key of the general ledger journal entry that reverses this general ledger journal entry. Null if the general ledger journal entry isn\&#39;t reversed. | [optional] [default to undefined]
**transactionId** | **string** | The transation ID, which is not unique. | [optional] [default to undefined]
**type** | **string** | The general ledger journal entry type, which may be debit or credit. | [optional] [default to undefined]
**userKey** | **string** | The encoded key of the user that performed the transaction. | [optional] [default to undefined]

## Example

```typescript
import { GLJournalEntry } from './api';

const instance: GLJournalEntry = {
    accountKey,
    amount,
    assignedBranchKey,
    bookingDate,
    creationDate,
    encodedKey,
    entryID,
    foreignAmount,
    glAccount,
    notes,
    productKey,
    productType,
    reversalEntryKey,
    transactionId,
    type,
    userKey,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
