# Transaction

## Extends

- `Transaction`

### agentId?

```ts
optional agentId: string;
```

The id of agent that created the resource

#### Inherited from

```ts
bkper.Transaction.agentId
```

***

### agentLogo?

```ts
optional agentLogo: string;
```

The logo of the agent that created the transaction

#### Inherited from

```ts
bkper.Transaction.agentLogo
```

***

### agentLogoDark?

```ts
optional agentLogoDark: string;
```

The logo in dark mode, of the agent that created the transaction

#### Inherited from

```ts
bkper.Transaction.agentLogoDark
```

***

### agentName?

```ts
optional agentName: string;
```

The name of the agent that created the transaction

#### Inherited from

```ts
bkper.Transaction.agentName
```

***

### amount?

```ts
optional amount: string;
```

The amount on format ####.##

#### Inherited from

```ts
bkper.Transaction.amount
```

***

### checked?

```ts
optional checked: boolean;
```

Whether the transaction is checked

#### Inherited from

```ts
bkper.Transaction.checked
```

***

### createdAt?

```ts
optional createdAt: string;
```

The creation timestamp, in milliseconds

#### Inherited from

```ts
bkper.Transaction.createdAt
```

***

### createdBy?

```ts
optional createdBy: string;
```

The actor username that created the transaction

#### Inherited from

```ts
bkper.Transaction.createdBy
```

***

### creditAccount?

```ts
optional creditAccount: Account;
```

#### Inherited from

```ts
bkper.Transaction.creditAccount
```

***

### date?

```ts
optional date: string;
```

The date on ISO format yyyy-MM-dd

#### Inherited from

```ts
bkper.Transaction.date
```

***

### dateFormatted?

```ts
optional dateFormatted: string;
```

The date on format of the Book

#### Inherited from

```ts
bkper.Transaction.dateFormatted
```

***

### dateValue?

```ts
optional dateValue: number;
```

The date number representation on format YYYYMMDD

#### Inherited from

```ts
bkper.Transaction.dateValue
```

***

### debitAccount?

```ts
optional debitAccount: Account;
```

#### Inherited from

```ts
bkper.Transaction.debitAccount
```

***

### description?

```ts
optional description: string;
```

The transaction description

#### Inherited from

```ts
bkper.Transaction.description
```

***

### draft?

```ts
optional draft: boolean;
```

Whether the transaction is a draft

#### Inherited from

```ts
bkper.Transaction.draft
```

***

### files?

```ts
optional files: File[];
```

The files attached to the transaction

#### Inherited from

```ts
bkper.Transaction.files
```

***

### id?

```ts
optional id: string;
```

The unique id that identifies the transaction in the book

#### Inherited from

```ts
bkper.Transaction.id
```

***

### posted?

```ts
optional posted: boolean;
```

Whether the transaction is already posted on accounts, otherwise is a draft

#### Inherited from

```ts
bkper.Transaction.posted
```

***

### properties?

```ts
optional properties: object;
```

The key/value custom properties of the Transaction

#### Index Signature

```ts
[name: string]: string
```

#### Inherited from

```ts
bkper.Transaction.properties
```

***

### remoteIds?

```ts
optional remoteIds: string[];
```

The transaction remote ids, to avoid duplication

#### Inherited from

```ts
bkper.Transaction.remoteIds
```

***

### tags?

```ts
optional tags: string[];
```

The transaction #hashtags

#### Inherited from

```ts
bkper.Transaction.tags
```

***

### trashed?

```ts
optional trashed: boolean;
```

Whether the transaction is trashed

#### Inherited from

```ts
bkper.Transaction.trashed
```

***

### updatedAt?

```ts
optional updatedAt: string;
```

The last update timestamp, in milliseconds

#### Inherited from

```ts
bkper.Transaction.updatedAt
```

***

### urls?

```ts
optional urls: string[];
```

The transaction urls

#### Inherited from

```ts
bkper.Transaction.urls
```
