---
title: AccountingComponents
editUrl: false
head: []
template: doc
prev: false
next: false
sidebar:
  hidden: false
  attrs: {}
pagefind: true
draft: false
---

Defined in: [src/accounting/types.gen.ts:149](https://github.com/slingshot/brex/blob/9dff46b5d5637a0dd072bca56d02d8a0f4425312/src/accounting/types.gen.ts#L149)

## Properties

### headers

> **headers**: `never`

Defined in: [src/accounting/types.gen.ts:680](https://github.com/slingshot/brex/blob/9dff46b5d5637a0dd072bca56d02d8a0f4425312/src/accounting/types.gen.ts#L680)

***

### parameters

> **parameters**: `never`

Defined in: [src/accounting/types.gen.ts:678](https://github.com/slingshot/brex/blob/9dff46b5d5637a0dd072bca56d02d8a0f4425312/src/accounting/types.gen.ts#L678)

***

### pathItems

> **pathItems**: `never`

Defined in: [src/accounting/types.gen.ts:681](https://github.com/slingshot/brex/blob/9dff46b5d5637a0dd072bca56d02d8a0f4425312/src/accounting/types.gen.ts#L681)

***

### requestBodies

> **requestBodies**: `never`

Defined in: [src/accounting/types.gen.ts:679](https://github.com/slingshot/brex/blob/9dff46b5d5637a0dd072bca56d02d8a0f4425312/src/accounting/types.gen.ts#L679)

***

### responses

> **responses**: `never`

Defined in: [src/accounting/types.gen.ts:677](https://github.com/slingshot/brex/blob/9dff46b5d5637a0dd072bca56d02d8a0f4425312/src/accounting/types.gen.ts#L677)

***

### schemas

> **schemas**: `object`

Defined in: [src/accounting/types.gen.ts:150](https://github.com/slingshot/brex/blob/9dff46b5d5637a0dd072bca56d02d8a0f4425312/src/accounting/types.gen.ts#L150)

#### AccountingErrorDetails

> **AccountingErrorDetails**: `object`

##### AccountingErrorDetails.current\_status?

> `optional` **current\_status?**: `string`

###### Description

Current status of the integration when the error occurred

###### Example

```ts
DISABLED
```

##### AccountingErrorDetails.duplicate\_accounting\_record\_ids?

> `optional` **duplicate\_accounting\_record\_ids?**: `string`[]

###### Description

Accounting record IDs that triggered the error

###### Example

```ts
[
      "accr_abc123",
      "accr_def456"
    ]
```

##### AccountingErrorDetails.existing\_integration\_id?

> `optional` **existing\_integration\_id?**: `string`

###### Description

ID of the existing active integration

###### Example

```ts
int_abc123
```

##### AccountingErrorDetails.existing\_vendor?

> `optional` **existing\_vendor?**: `string`

###### Description

Vendor of the existing integration

###### Example

```ts
ERP_A
```

##### AccountingErrorDetails.integration\_id?

> `optional` **integration\_id?**: `string`

###### Description

Integration ID associated with the error

###### Example

```ts
int_abc123
```

##### AccountingErrorDetails.not\_found\_export\_entry\_source\_ids?

> `optional` **not\_found\_export\_entry\_source\_ids?**: `string`[]

###### Description

Accounting record IDs that could not be found

###### Example

```ts
[
      "accr_ghi789"
    ]
```

##### AccountingErrorDetails.not\_ready\_for\_export\_accounting\_record\_ids?

> `optional` **not\_ready\_for\_export\_accounting\_record\_ids?**: `string`[]

###### Description

Accounting record IDs that are not ready for export

###### Example

```ts
[
      "accr_ghi789"
    ]
```

##### AccountingErrorDetails.requested\_vendor?

> `optional` **requested\_vendor?**: `string`

###### Description

Vendor that was requested to be created

###### Example

```ts
ERP_B
```

#### AccountingErrorResponse

> **AccountingErrorResponse**: `object`

##### AccountingErrorResponse.details?

> `optional` **details?**: `object` & `object` \| `null`

###### Description

Additional error context

##### AccountingErrorResponse.error\_code

> **error\_code**: `"ACTIVE_INTEGRATION_EXISTS"` \| `"FORBIDDEN"` \| `"INTEGRATION_NOT_ACTIVE"` \| `"INTERNAL_ERROR"` \| `"INVALID_REQUEST"` \| `"NOT_FOUND"` \| `"UNAUTHORIZED"` \| `"DUPLICATE_ACCOUNTING_RECORD_IDS"` \| `"ACCOUNTING_RECORD_NOT_READY_FOR_EXPORT"` \| `"VENDOR_ACCOUNT_ID_MISMATCH"`

###### Description

Machine-readable error code

###### Example

```ts
INVALID_REQUEST
@enum {string}
```

##### AccountingErrorResponse.message

> **message**: `string`

###### Description

Human-readable error message

###### Example

```ts
The request is malformed or contains invalid data.
```

#### AccountingFieldValue

> **AccountingFieldValue**: `object`

##### AccountingFieldValue.brex\_field\_id

> **brex\_field\_id**: `string`

###### Description

Brex internal field identifier

###### Example

```ts
ef_123
```

##### AccountingFieldValue.brex\_field\_value\_id

> **brex\_field\_value\_id**: `string`

###### Description

Brex internal field value identifier

###### Example

```ts
efo_123
```

##### AccountingFieldValue.remote\_field\_id

> **remote\_field\_id**: `string` \| `null`

###### Description

Remote system field identifier

###### Example

```ts
1
```

##### AccountingFieldValue.remote\_field\_value\_id

> **remote\_field\_value\_id**: `string` \| `null`

###### Description

Remote system field value identifier

###### Example

```ts
123
```

#### AccountingRecordDetailed

> **AccountingRecordDetailed**: `object`

##### AccountingRecordDetailed.amount

> **amount**: `object`

###### Description

Amount of the accounting record

##### AccountingRecordDetailed.amount.amount

> **amount**: `number`

###### Description

The amount

###### Example

```ts
100
```

##### AccountingRecordDetailed.amount.currency

> **currency**: `string`

###### Description

The currency

###### Example

```ts
USD
```

##### AccountingRecordDetailed.due\_at?

> `optional` **due\_at?**: `string` \| `null`

Format: date-time

###### Description

Source due at in UTC timezone. For bills only

##### AccountingRecordDetailed.erp\_posting\_date

> **erp\_posting\_date**: `string`

Format: date-time

###### Description

ERP impact date in UTC timezone

##### AccountingRecordDetailed.id

> **id**: `string`

###### Description

Unique identifier for the accounting record

###### Example

```ts
accr_abc123
```

##### AccountingRecordDetailed.invoice\_number?

> `optional` **invoice\_number?**: `string` \| `null`

###### Description

Invoice number. For bills only

##### AccountingRecordDetailed.line\_items

> **line\_items**: `object`[]

###### Description

Line items for double-entry bookkeeping

##### AccountingRecordDetailed.memo?

> `optional` **memo?**: `string` \| `null`

###### Description

Memo/description

##### AccountingRecordDetailed.original\_amount?

> `optional` **original\_amount?**: \{ `amount`: `number`; `currency`: `string`; \} \| `null`

###### Union Members

###### Type Literal

\{ `amount`: `number`; `currency`: `string`; \}

###### amount

> **amount**: `number`

###### Description

The amount

###### Example

```ts
100
```

###### currency

> **currency**: `string`

###### Description

The currency

###### Example

```ts
USD
```

***

`null`

###### Description

Original amount if different from current

##### AccountingRecordDetailed.posted\_at

> **posted\_at**: `string`

Format: date-time

###### Description

Source posted date in UTC timezone

##### AccountingRecordDetailed.receipts?

> `optional` **receipts?**: `object`[] \| `null`

###### Description

Associated receipts

##### AccountingRecordDetailed.review\_status

> **review\_status**: `"PREPARE"` \| `"REVIEW"` \| `"READY_FOR_EXPORT"` \| `"EXPORTED"`

###### Description

Current review status of the record in the accounting review lifecycle: `PREPARE` → `REVIEW` → `READY_FOR_EXPORT` → `EXPORTED`.

##### AccountingRecordDetailed.source\_id?

> `optional` **source\_id?**: `string` \| `null`

###### Description

Source transaction ID

##### AccountingRecordDetailed.source\_type

> **source\_type**: `"CARD"` \| `"REIMBURSEMENT"` \| `"BILL"`

###### Description

Source type

##### AccountingRecordDetailed.type

> **type**: `"CARD_EXPENSE_POST"` \| `"CARD_EXPENSE_REPAYMENT"` \| `"REIMBURSEMENT_EXPENSE_REPAYMENT"` \| `"REIMBURSEMENT_EXPENSE_APPROVAL"` \| `"REIMBURSEMENT_EXPENSE_MONEY_MOVEMENT_PAYOUT"` \| `"REIMBURSEMENT_EXPENSE_MONEY_MOVEMENT_PAYIN"` \| `"REIMBURSEMENT_EXPENSE_POST"` \| `"CARD_PAYMENT"` \| `"REWARD_REDEMPTION"` \| `"REIMBURSEMENT_EXPENSE_MONEY_MOVEMENT_REFUND"` \| `"CARD_EXPENSE_REFUND"` \| `"CARD_PAYMENT_REFUND"` \| `"REIMBURSEMENT_EXPENSE_MONEY_MOVEMENT_PAYOUT_REVERSAL"` \| `"INVOICE"` \| `"INVOICE_PAYMENT"` \| `"BILL_EXPENSE"` \| `"BILL_EXPENSE_PAYMENT"` \| `"BILL_EXPENSE_CARD_PAYMENT"` \| `"BILL_MONEY_MOVEMENT_PAYIN"`

###### Description

Types of accounting records representing different financial transactions:

    **Card-related transactions:**

    - `CARD_EXPENSE_POST`: Records when a card expense is posted and settled

    - `CARD_EXPENSE_REFUND`: Records when a merchant issues a refund for a card transaction

    - `CARD_EXPENSE_REPAYMENT`: Records when an employee repays money to the company for a card expense

    - `CARD_PAYMENT`: Records payments from customer to Brex for card balances

    - `CARD_PAYMENT_REFUND`: Records refunds from Brex to customer for overpayments

    - `REWARD_REDEMPTION`: Records when a reward is redeemed

    **Bill-related transactions:**

    - `BILL_EXPENSE`: Records when a bill expense is created

    - `BILL_EXPENSE_PAYMENT`: Records when a bill is paid through ACH/wire transfer

    - `BILL_EXPENSE_CARD_PAYMENT`: Records when a bill is paid using a Brex card

    **Reimbursement-related transactions:**

    - `REIMBURSEMENT_EXPENSE_APPROVAL`: Records approval of reimbursement (accrual basis)

    - `REIMBURSEMENT_EXPENSE_POST`: Records when reimbursement is fulfilled (cash basis)

    - `REIMBURSEMENT_EXPENSE_REPAYMENT`: Records repayment of a reimbursement expense

    - `REIMBURSEMENT_EXPENSE_MONEY_MOVEMENT_PAYOUT`: Records payout to employee/third party

    - `REIMBURSEMENT_EXPENSE_MONEY_MOVEMENT_PAYOUT_REVERSAL`: Records reversal of payout

    - `REIMBURSEMENT_EXPENSE_MONEY_MOVEMENT_PAYIN`: Records payment from customer to Brex

    - `REIMBURSEMENT_EXPENSE_MONEY_MOVEMENT_REFUND`: Records refund to customer's bank

##### AccountingRecordDetailed.updated\_at

> **updated\_at**: `string`

Format: date-time

###### Description

Last update timestamp in UTC timezone

##### AccountingRecordDetailed.user?

> `optional` **user?**: \{ `department_id?`: `string`; `department_name?`: `string`; `email`: `string`; `first_name`: `string`; `id`: `string`; `last_name`: `string`; `location_id?`: `string`; `location_name?`: `string`; `manager_first_name?`: `string`; `manager_id?`: `string`; `manager_last_name?`: `string`; `manager_title_id?`: `string`; `manager_title_name?`: `string`; `role`: `"ACCOUNT_ADMIN"` \| `"AP_CLERK"` \| `"BOOKKEEPER"` \| `"CARD_ADMIN"` \| `"EMPLOYEE"` \| `"EMPLOYEE_WITHOUT_CORP_CARDS"` \| `"EXPENSE_ADMIN"` \| `"SUPER_ADMIN"` \| `"USER_MANAGEMENT_ADMIN"`; `status`: `"ACTIVE"` \| `"DISABLED"` \| `"ARCHIVED"` \| `"DELETED"` \| `"INACTIVE"` \| `"INVITED"` \| `"PENDING_ACTIVATION"`; `title_id?`: `string`; `title_name?`: `string`; \} \| `null`

###### Union Members

###### Type Literal

\{ `department_id?`: `string`; `department_name?`: `string`; `email`: `string`; `first_name`: `string`; `id`: `string`; `last_name`: `string`; `location_id?`: `string`; `location_name?`: `string`; `manager_first_name?`: `string`; `manager_id?`: `string`; `manager_last_name?`: `string`; `manager_title_id?`: `string`; `manager_title_name?`: `string`; `role`: `"ACCOUNT_ADMIN"` \| `"AP_CLERK"` \| `"BOOKKEEPER"` \| `"CARD_ADMIN"` \| `"EMPLOYEE"` \| `"EMPLOYEE_WITHOUT_CORP_CARDS"` \| `"EXPENSE_ADMIN"` \| `"SUPER_ADMIN"` \| `"USER_MANAGEMENT_ADMIN"`; `status`: `"ACTIVE"` \| `"DISABLED"` \| `"ARCHIVED"` \| `"DELETED"` \| `"INACTIVE"` \| `"INVITED"` \| `"PENDING_ACTIVATION"`; `title_id?`: `string`; `title_name?`: `string`; \}

###### department\_id?

> `optional` **department\_id?**: `string`

###### Description

The ID of the user's department

###### Example

```ts
VXNlcjpjdXVzZXJfMTIzNA==
```

###### department\_name?

> `optional` **department\_name?**: `string`

###### Description

The user's department name

###### Example

```ts
Engineering
```

###### email

> **email**: `string`

###### Description

The user's email address

###### Example

```ts
john.doe@example.com
```

###### first\_name

> **first\_name**: `string`

###### Description

The user's first name

###### Example

```ts
John
```

###### id

> **id**: `string`

###### Description

The ID of the user

###### Example

```ts
VXNlcjpjdXVzZXJfMTIzNA==
```

###### last\_name

> **last\_name**: `string`

###### Description

The user's last name

###### Example

```ts
Doe
```

###### location\_id?

> `optional` **location\_id?**: `string`

###### Description

The ID of the user's location

###### Example

```ts
VXNlcjpjdXVzZXJfMTIzNA==
```

###### location\_name?

> `optional` **location\_name?**: `string`

###### Description

The user's location name

###### Example

```ts
San Francisco
```

###### manager\_first\_name?

> `optional` **manager\_first\_name?**: `string`

###### Description

The user's manager first name

###### Example

```ts
Jane
```

###### manager\_id?

> `optional` **manager\_id?**: `string`

###### Description

The ID of the user's manager

###### Example

```ts
VXNlcjpjdXVzZXJfMTIzNA==
```

###### manager\_last\_name?

> `optional` **manager\_last\_name?**: `string`

###### Description

The user's manager last name

###### Example

```ts
Smith
```

###### manager\_title\_id?

> `optional` **manager\_title\_id?**: `string`

###### Description

The user's manager title ID

###### Example

```ts
VGl0bGU6dGl0bGVfMTIzNA==
```

###### manager\_title\_name?

> `optional` **manager\_title\_name?**: `string`

###### Description

The user's manager title display name

###### Example

```ts
Engineering Manager
```

###### role

> **role**: `"ACCOUNT_ADMIN"` \| `"AP_CLERK"` \| `"BOOKKEEPER"` \| `"CARD_ADMIN"` \| `"EMPLOYEE"` \| `"EMPLOYEE_WITHOUT_CORP_CARDS"` \| `"EXPENSE_ADMIN"` \| `"SUPER_ADMIN"` \| `"USER_MANAGEMENT_ADMIN"`

###### Description

The user's role in the system

###### Example

```ts
CARD_ADMIN
@enum {string}
```

###### status

> **status**: `"ACTIVE"` \| `"DISABLED"` \| `"ARCHIVED"` \| `"DELETED"` \| `"INACTIVE"` \| `"INVITED"` \| `"PENDING_ACTIVATION"`

###### Description

The user's status in the system

###### Example

```ts
ACTIVE
@enum {string}
```

###### title\_id?

> `optional` **title\_id?**: `string`

###### Description

The user's title ID

###### Example

```ts
VGl0bGU6dGl0bGVfMTIzNA==
```

###### title\_name?

> `optional` **title\_name?**: `string`

###### Description

The user's title display name

###### Example

```ts
Software Engineer
```

***

`null`

###### Description

User associated with the record

##### AccountingRecordDetailed.vendor?

> `optional` **vendor?**: \{ `contact_name?`: `string` \| `null`; `email?`: `string` \| `null`; `id`: `string`; `name`: `string`; `phone?`: `string` \| `null`; `website?`: `string` \| `null`; \} \| `null`

###### Union Members

###### Type Literal

\{ `contact_name?`: `string` \| `null`; `email?`: `string` \| `null`; `id`: `string`; `name`: `string`; `phone?`: `string` \| `null`; `website?`: `string` \| `null`; \}

###### contact\_name?

> `optional` **contact\_name?**: `string` \| `null`

###### Description

The name of the contact for the vendor

###### Example

```ts
Jane Smith
```

###### email?

> `optional` **email?**: `string` \| `null`

###### Description

The email for the vendor

###### Example

```ts
contact@acme.com
```

###### id

> **id**: `string`

###### Description

The unique identifier for the vendor

###### Example

```ts
vendor_123
```

###### name

> **name**: `string`

###### Description

The name of the vendor

###### Example

```ts
Acme Corp
```

###### phone?

> `optional` **phone?**: `string` \| `null`

###### Description

The phone number for the vendor

###### Example

```ts
+1-555-123-4567
```

###### website?

> `optional` **website?**: `string` \| `null`

###### Description

The website of the vendor

###### Example

```ts
https://acme.com
```

***

`null`

###### Description

Vendor information

##### AccountingRecordDetailed.version

> **version**: `number`

###### Description

Version number

#### AccountingRecordLineItem

> **AccountingRecordLineItem**: `object`

##### AccountingRecordLineItem.accounting\_field\_values

> **accounting\_field\_values**: `object`[]

###### Description

Accounting field mappings

##### AccountingRecordLineItem.amount

> **amount**: `object`

###### Description

Amount for this line item. Amount is always positive for `AccountingRecordLineItem`.

##### AccountingRecordLineItem.amount.amount

> **amount**: `number`

###### Description

The amount

###### Example

```ts
100
```

##### AccountingRecordLineItem.amount.currency

> **currency**: `string`

###### Description

The currency

###### Example

```ts
USD
```

##### AccountingRecordLineItem.id

> **id**: `string`

###### Description

Unique identifier for the line item

###### Example

```ts
arli_abc123
```

##### AccountingRecordLineItem.memo?

> `optional` **memo?**: `string` \| `null`

###### Description

Memo/description

##### AccountingRecordLineItem.original\_amount?

> `optional` **original\_amount?**: \{ `amount`: `number`; `currency`: `string`; \} \| `null`

###### Union Members

###### Type Literal

\{ `amount`: `number`; `currency`: `string`; \}

###### amount

> **amount**: `number`

###### Description

The amount

###### Example

```ts
100
```

###### currency

> **currency**: `string`

###### Description

The currency

###### Example

```ts
USD
```

***

`null`

###### Description

Original amount for this line item. Amount is always positive for `AccountingRecordLineItem`.

##### AccountingRecordLineItem.type

> **type**: `"CREDIT"` \| `"DEBIT"`

###### Description

Type of line item

#### AccountingRecordsResponse

> **AccountingRecordsResponse**: `object`

##### AccountingRecordsResponse.has\_next\_page

> **has\_next\_page**: `boolean`

###### Description

Whether there are more results available

##### AccountingRecordsResponse.items

> **items**: `object`[]

###### Description

List of accounting records

##### AccountingRecordsResponse.next\_cursor?

> `optional` **next\_cursor?**: `string` \| `null`

###### Description

Cursor for the next page of results

##### AccountingRecordsResponse.total\_count?

> `optional` **total\_count?**: `number` \| `null`

Format: int32

###### Description

Total count of records matching the query

#### Amount

> **Amount**: `object`

##### Amount.amount

> **amount**: `number`

###### Description

The amount

###### Example

```ts
100
```

##### Amount.currency

> **currency**: `string`

###### Description

The currency

###### Example

```ts
USD
```

#### CreateIntegrationRequest

> **CreateIntegrationRequest**: `object`

##### CreateIntegrationRequest.vendor

> **vendor**: `string`

###### Description

The accounting vendor/system. ERP partners must request Brex to create a vendor ID for them to use this field.

###### Example

```ts
ERP_A
```

##### CreateIntegrationRequest.vendor\_account\_id

> **vendor\_account\_id**: `string`

###### Description

The vendor account ID to tie this integration to

###### Example

```ts
vendor_account_id
```

#### ExportFailureDetails

> **ExportFailureDetails**: `object`

##### ExportFailureDetails.error\_message

> **error\_message**: `string`

###### Description

Human-readable explanation of the failure

###### Example

```ts
Invalid GL account
```

#### ExportResultsResponse

> **ExportResultsResponse**: `object`

##### ExportResultsResponse.updated\_accounting\_record\_ids

> **updated\_accounting\_record\_ids**: `string`[]

###### Description

Accounting record ids that were updated by the request

###### Example

```ts
[
      "accr_abc123",
      "accr_def456"
    ]
```

#### ExportSuccessDetails

> **ExportSuccessDetails**: `object`

##### ExportSuccessDetails.deep\_link\_url?

> `optional` **deep\_link\_url?**: `string`

###### Description

URL pointing to the record in the external system

###### Example

```ts
https://erp.com/transactions/456789
```

##### ExportSuccessDetails.reference\_id?

> `optional` **reference\_id?**: `string` \| `null`

###### Description

External system identifier assigned to the exported record

###### Example

```ts
erp_txn_456789
```

#### FailedExportResult

> **FailedExportResult**: `object`

##### FailedExportResult.accounting\_record\_id

> **accounting\_record\_id**: `string`

###### Description

ID of the accounting record the export outcome applies to

###### Example

```ts
accr_abc123
```

##### FailedExportResult.failure

> **failure**: `object`

###### Description

Details for a failed export

##### FailedExportResult.failure.error\_message

> **error\_message**: `string`

###### Description

Human-readable explanation of the failure

###### Example

```ts
Invalid GL account
```

#### Integration

> **Integration**: `object`

##### Integration.created\_at

> **created\_at**: `string`

Format: date-time

###### Description

Timestamp when the integration was created

###### Example

```ts
2025-08-15T10:00:00Z
```

##### Integration.integration\_id

> **integration\_id**: `string`

###### Description

Unique identifier for the integration

###### Example

```ts
int_abc123
```

##### Integration.status

> **status**: `"ACTIVE"` \| `"DISABLED"`

###### Description

Current status of the integration

###### Example

```ts
ACTIVE
@enum {string}
```

##### Integration.vendor

> **vendor**: `string`

###### Description

The accounting vendor/system. ERP partners must request Brex to create a vendor ID for them to use this field.

##### Integration.vendor\_account\_id

> **vendor\_account\_id**: `string`

###### Description

The vendor account ID this integration is tied to

###### Example

```ts
customer_account_id
```

#### Receipt

> **Receipt**: `object`

##### Receipt.download\_uris?

> `optional` **download\_uris?**: `string`[] \| `null`

###### Description

Presigned S3 URLs to download receipt files (expire in 15 minutes)

##### Receipt.id

> **id**: `string`

###### Description

Unique identifier for the receipt

#### ReportExportResultsRequest

> **ReportExportResultsRequest**: `object`

##### ReportExportResultsRequest.results

> **results**: (\{ `accounting_record_id`: `string`; `failure`: \{ `error_message`: `string`; \}; \} \| \{ `accounting_record_id`: `string`; `success`: \{ `deep_link_url?`: `string`; `reference_id?`: `string` \| `null`; \}; \})[]

###### Description

Array of export results (must contain at least one result)

#### SuccessfulExportResult

> **SuccessfulExportResult**: `object`

##### SuccessfulExportResult.accounting\_record\_id

> **accounting\_record\_id**: `string`

###### Description

ID of the accounting record the export outcome applies to

###### Example

```ts
accr_abc123
```

##### SuccessfulExportResult.success

> **success**: `object`

###### Description

Details for a successful export

##### SuccessfulExportResult.success.deep\_link\_url?

> `optional` **deep\_link\_url?**: `string`

###### Description

URL pointing to the record in the external system

###### Example

```ts
https://erp.com/transactions/456789
```

##### SuccessfulExportResult.success.reference\_id?

> `optional` **reference\_id?**: `string` \| `null`

###### Description

External system identifier assigned to the exported record

###### Example

```ts
erp_txn_456789
```

#### UpdatedAtFilter

> **UpdatedAtFilter**: `object`

##### UpdatedAtFilter.gt?

> `optional` **gt?**: `string`

Format: date-time

###### Description

Minimum value to filter by (exclusive) - ISO 8601 format

###### Example

```ts
2025-01-01T00:00:00Z
```

##### UpdatedAtFilter.gte?

> `optional` **gte?**: `string`

Format: date-time

###### Description

Minimum value to filter by (inclusive) - ISO 8601 format

###### Example

```ts
2025-01-01T00:00:00Z
```

##### UpdatedAtFilter.lt?

> `optional` **lt?**: `string`

Format: date-time

###### Description

Maximum value to filter by (exclusive) - ISO 8601 format

###### Example

```ts
2025-01-01T00:00:00Z
```

##### UpdatedAtFilter.lte?

> `optional` **lte?**: `string`

Format: date-time

###### Description

Maximum value to filter by (inclusive) - ISO 8601 format

###### Example

```ts
2025-01-01T23:59:59.999Z
```

#### User

> **User**: `object`

##### User.department\_id?

> `optional` **department\_id?**: `string`

###### Description

The ID of the user's department

###### Example

```ts
VXNlcjpjdXVzZXJfMTIzNA==
```

##### User.department\_name?

> `optional` **department\_name?**: `string`

###### Description

The user's department name

###### Example

```ts
Engineering
```

##### User.email

> **email**: `string`

###### Description

The user's email address

###### Example

```ts
john.doe@example.com
```

##### User.first\_name

> **first\_name**: `string`

###### Description

The user's first name

###### Example

```ts
John
```

##### User.id

> **id**: `string`

###### Description

The ID of the user

###### Example

```ts
VXNlcjpjdXVzZXJfMTIzNA==
```

##### User.last\_name

> **last\_name**: `string`

###### Description

The user's last name

###### Example

```ts
Doe
```

##### User.location\_id?

> `optional` **location\_id?**: `string`

###### Description

The ID of the user's location

###### Example

```ts
VXNlcjpjdXVzZXJfMTIzNA==
```

##### User.location\_name?

> `optional` **location\_name?**: `string`

###### Description

The user's location name

###### Example

```ts
San Francisco
```

##### User.manager\_first\_name?

> `optional` **manager\_first\_name?**: `string`

###### Description

The user's manager first name

###### Example

```ts
Jane
```

##### User.manager\_id?

> `optional` **manager\_id?**: `string`

###### Description

The ID of the user's manager

###### Example

```ts
VXNlcjpjdXVzZXJfMTIzNA==
```

##### User.manager\_last\_name?

> `optional` **manager\_last\_name?**: `string`

###### Description

The user's manager last name

###### Example

```ts
Smith
```

##### User.manager\_title\_id?

> `optional` **manager\_title\_id?**: `string`

###### Description

The user's manager title ID

###### Example

```ts
VGl0bGU6dGl0bGVfMTIzNA==
```

##### User.manager\_title\_name?

> `optional` **manager\_title\_name?**: `string`

###### Description

The user's manager title display name

###### Example

```ts
Engineering Manager
```

##### User.role

> **role**: `"ACCOUNT_ADMIN"` \| `"AP_CLERK"` \| `"BOOKKEEPER"` \| `"CARD_ADMIN"` \| `"EMPLOYEE"` \| `"EMPLOYEE_WITHOUT_CORP_CARDS"` \| `"EXPENSE_ADMIN"` \| `"SUPER_ADMIN"` \| `"USER_MANAGEMENT_ADMIN"`

###### Description

The user's role in the system

###### Example

```ts
CARD_ADMIN
@enum {string}
```

##### User.status

> **status**: `"ACTIVE"` \| `"DISABLED"` \| `"ARCHIVED"` \| `"DELETED"` \| `"INACTIVE"` \| `"INVITED"` \| `"PENDING_ACTIVATION"`

###### Description

The user's status in the system

###### Example

```ts
ACTIVE
@enum {string}
```

##### User.title\_id?

> `optional` **title\_id?**: `string`

###### Description

The user's title ID

###### Example

```ts
VGl0bGU6dGl0bGVfMTIzNA==
```

##### User.title\_name?

> `optional` **title\_name?**: `string`

###### Description

The user's title display name

###### Example

```ts
Software Engineer
```

#### Vendor

> **Vendor**: `object`

##### Vendor.contact\_name?

> `optional` **contact\_name?**: `string` \| `null`

###### Description

The name of the contact for the vendor

###### Example

```ts
Jane Smith
```

##### Vendor.email?

> `optional` **email?**: `string` \| `null`

###### Description

The email for the vendor

###### Example

```ts
contact@acme.com
```

##### Vendor.id

> **id**: `string`

###### Description

The unique identifier for the vendor

###### Example

```ts
vendor_123
```

##### Vendor.name

> **name**: `string`

###### Description

The name of the vendor

###### Example

```ts
Acme Corp
```

##### Vendor.phone?

> `optional` **phone?**: `string` \| `null`

###### Description

The phone number for the vendor

###### Example

```ts
+1-555-123-4567
```

##### Vendor.website?

> `optional` **website?**: `string` \| `null`

###### Description

The website of the vendor

###### Example

```ts
https://acme.com
```