AccountingPaths
Defined in: src/accounting/types.gen.ts:2
Properties
Section titled “Properties”/v3/accounting/integration
Section titled “/v3/accounting/integration”/v3/accounting/integration:
object
Defined in: src/accounting/types.gen.ts:3
delete?
Section titled “delete?”
optionaldelete?:undefined
optionalget?:undefined
optionalhead?:undefined
options?
Section titled “options?”
optionaloptions?:undefined
parameters
Section titled “parameters”parameters:
object
parameters.cookie?
Section titled “parameters.cookie?”
optionalcookie?:undefined
parameters.header?
Section titled “parameters.header?”
optionalheader?:undefined
parameters.path?
Section titled “parameters.path?”
optionalpath?:undefined
parameters.query?
Section titled “parameters.query?”
optionalquery?:undefined
patch?
Section titled “patch?”
optionalpatch?:undefined
post:
object
Create accounting integration
Description
Section titled “Description”Create a new accounting integration. The behavior depends on the existing active integration:
- If no active integration exists: Creates and returns new integration- If active integration exists with same vendor and vendor_account_id: Returns the existing active integration- If active integration exists with same vendor but different vendor_account_id: Returns 409 error- If active integration exists with different vendor: Returns 409 error
This ensures only one active integration exists per account.post.parameters
Section titled “post.parameters”parameters:
object
post.parameters.cookie?
Section titled “post.parameters.cookie?”
optionalcookie?:undefined
post.parameters.header?
Section titled “post.parameters.header?”
optionalheader?:undefined
post.parameters.path?
Section titled “post.parameters.path?”
optionalpath?:undefined
post.parameters.query?
Section titled “post.parameters.query?”
optionalquery?:undefined
post.requestBody
Section titled “post.requestBody”requestBody:
object
post.requestBody.content
Section titled “post.requestBody.content”content:
object
post.requestBody.content.application/json
Section titled “post.requestBody.content.application/json”application/json:
object
post.requestBody.content.application/json.vendor
Section titled “post.requestBody.content.application/json.vendor”vendor:
string
Description
Section titled “Description”The accounting vendor/system. ERP partners must request Brex to create a vendor ID for them to use this field.
Example
Section titled “Example”ERP_Apost.requestBody.content.application/json.vendor_account_id
Section titled “post.requestBody.content.application/json.vendor_account_id”vendor_account_id:
string
Description
Section titled “Description”The vendor account ID to tie this integration to
Example
Section titled “Example”vendor_account_idpost.responses
Section titled “post.responses”responses:
object
post.responses.200
Section titled “post.responses.200”200:
object
Description
Section titled “Description”Integration created successfully
post.responses.200.content
Section titled “post.responses.200.content”content:
object
post.responses.200.content.application/json
Section titled “post.responses.200.content.application/json”application/json:
object
post.responses.200.content.application/json.created_at
Section titled “post.responses.200.content.application/json.created_at”created_at:
string
Format: date-time
Description
Section titled “Description”Timestamp when the integration was created
Example
Section titled “Example”2025-08-15T10:00:00Zpost.responses.200.content.application/json.integration_id
Section titled “post.responses.200.content.application/json.integration_id”integration_id:
string
Description
Section titled “Description”Unique identifier for the integration
Example
Section titled “Example”int_abc123post.responses.200.content.application/json.status
Section titled “post.responses.200.content.application/json.status”status:
"ACTIVE"|"DISABLED"
Description
Section titled “Description”Current status of the integration
Example
Section titled “Example”ACTIVE@enum {string}post.responses.200.content.application/json.vendor
Section titled “post.responses.200.content.application/json.vendor”vendor:
string
Description
Section titled “Description”The accounting vendor/system. ERP partners must request Brex to create a vendor ID for them to use this field.
post.responses.200.content.application/json.vendor_account_id
Section titled “post.responses.200.content.application/json.vendor_account_id”vendor_account_id:
string
Description
Section titled “Description”The vendor account ID this integration is tied to
Example
Section titled “Example”customer_account_idpost.responses.200.headers
Section titled “post.responses.200.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.400
Section titled “post.responses.400”400:
object
Description
Section titled “Description”Bad request
post.responses.400.content
Section titled “post.responses.400.content”content:
object
post.responses.400.content.application/json
Section titled “post.responses.400.content.application/json”application/json:
object
post.responses.400.content.application/json.details?
Section titled “post.responses.400.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.400.content.application/json.error_code
Section titled “post.responses.400.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.400.content.application/json.message
Section titled “post.responses.400.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.400.headers
Section titled “post.responses.400.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.401
Section titled “post.responses.401”401:
object
Description
Section titled “Description”Unauthorized
post.responses.401.content
Section titled “post.responses.401.content”content:
object
post.responses.401.content.application/json
Section titled “post.responses.401.content.application/json”application/json:
object
post.responses.401.content.application/json.details?
Section titled “post.responses.401.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.401.content.application/json.error_code
Section titled “post.responses.401.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.401.content.application/json.message
Section titled “post.responses.401.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.401.headers
Section titled “post.responses.401.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.403
Section titled “post.responses.403”403:
object
Description
Section titled “Description”Forbidden
post.responses.403.content
Section titled “post.responses.403.content”content:
object
post.responses.403.content.application/json
Section titled “post.responses.403.content.application/json”application/json:
object
post.responses.403.content.application/json.details?
Section titled “post.responses.403.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.403.content.application/json.error_code
Section titled “post.responses.403.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.403.content.application/json.message
Section titled “post.responses.403.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.403.headers
Section titled “post.responses.403.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.409
Section titled “post.responses.409”409:
object
Description
Section titled “Description”Active integration exists with different vendor or different vendor account ID
post.responses.409.content
Section titled “post.responses.409.content”content:
object
post.responses.409.content.application/json
Section titled “post.responses.409.content.application/json”application/json:
object
post.responses.409.content.application/json.details?
Section titled “post.responses.409.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.409.content.application/json.error_code
Section titled “post.responses.409.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.409.content.application/json.message
Section titled “post.responses.409.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.409.headers
Section titled “post.responses.409.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.500
Section titled “post.responses.500”500:
object
Description
Section titled “Description”Internal server error
post.responses.500.content
Section titled “post.responses.500.content”content:
object
post.responses.500.content.application/json
Section titled “post.responses.500.content.application/json”application/json:
object
post.responses.500.content.application/json.details?
Section titled “post.responses.500.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.500.content.application/json.error_code
Section titled “post.responses.500.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.500.content.application/json.message
Section titled “post.responses.500.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.500.headers
Section titled “post.responses.500.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
optionalput?:undefined
trace?
Section titled “trace?”
optionaltrace?:undefined
/v3/accounting/integration/{integration_id}/disconnect
Section titled “/v3/accounting/integration/{integration_id}/disconnect”/v3/accounting/integration/{integration_id}/disconnect:
object
Defined in: src/accounting/types.gen.ts:30
delete?
Section titled “delete?”
optionaldelete?:undefined
optionalget?:undefined
optionalhead?:undefined
options?
Section titled “options?”
optionaloptions?:undefined
parameters
Section titled “parameters”parameters:
object
parameters.cookie?
Section titled “parameters.cookie?”
optionalcookie?:undefined
parameters.header?
Section titled “parameters.header?”
optionalheader?:undefined
parameters.path?
Section titled “parameters.path?”
optionalpath?:undefined
parameters.query?
Section titled “parameters.query?”
optionalquery?:undefined
patch?
Section titled “patch?”
optionalpatch?:undefined
post:
object
Disconnect accounting integration
Description
Section titled “Description”Disconnect an active accounting integration.
- If integration is ACTIVE: Disconnects and returns success- If integration ID doesn't exist: Returns 404 error- If integration is not currently active: Returns 409 errorpost.parameters
Section titled “post.parameters”parameters:
object
post.parameters.cookie?
Section titled “post.parameters.cookie?”
optionalcookie?:undefined
post.parameters.header?
Section titled “post.parameters.header?”
optionalheader?:undefined
post.parameters.path
Section titled “post.parameters.path”path:
object
post.parameters.path.integration_id
Section titled “post.parameters.path.integration_id”integration_id:
string
post.parameters.query?
Section titled “post.parameters.query?”
optionalquery?:undefined
post.requestBody?
Section titled “post.requestBody?”
optionalrequestBody?:undefined
post.responses
Section titled “post.responses”responses:
object
post.responses.200
Section titled “post.responses.200”200:
object
Description
Section titled “Description”Integration disconnected successfully
post.responses.200.content
Section titled “post.responses.200.content”content:
object
post.responses.200.content.application/json
Section titled “post.responses.200.content.application/json”application/json:
object
post.responses.200.content.application/json.created_at
Section titled “post.responses.200.content.application/json.created_at”created_at:
string
Format: date-time
Description
Section titled “Description”Timestamp when the integration was created
Example
Section titled “Example”2025-08-15T10:00:00Zpost.responses.200.content.application/json.integration_id
Section titled “post.responses.200.content.application/json.integration_id”integration_id:
string
Description
Section titled “Description”Unique identifier for the integration
Example
Section titled “Example”int_abc123post.responses.200.content.application/json.status
Section titled “post.responses.200.content.application/json.status”status:
"ACTIVE"|"DISABLED"
Description
Section titled “Description”Current status of the integration
Example
Section titled “Example”ACTIVE@enum {string}post.responses.200.content.application/json.vendor
Section titled “post.responses.200.content.application/json.vendor”vendor:
string
Description
Section titled “Description”The accounting vendor/system. ERP partners must request Brex to create a vendor ID for them to use this field.
post.responses.200.content.application/json.vendor_account_id
Section titled “post.responses.200.content.application/json.vendor_account_id”vendor_account_id:
string
Description
Section titled “Description”The vendor account ID this integration is tied to
Example
Section titled “Example”customer_account_idpost.responses.200.headers
Section titled “post.responses.200.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.401
Section titled “post.responses.401”401:
object
Description
Section titled “Description”Unauthorized
post.responses.401.content
Section titled “post.responses.401.content”content:
object
post.responses.401.content.application/json
Section titled “post.responses.401.content.application/json”application/json:
object
post.responses.401.content.application/json.details?
Section titled “post.responses.401.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.401.content.application/json.error_code
Section titled “post.responses.401.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.401.content.application/json.message
Section titled “post.responses.401.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.401.headers
Section titled “post.responses.401.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.403
Section titled “post.responses.403”403:
object
Description
Section titled “Description”Forbidden
post.responses.403.content
Section titled “post.responses.403.content”content:
object
post.responses.403.content.application/json
Section titled “post.responses.403.content.application/json”application/json:
object
post.responses.403.content.application/json.details?
Section titled “post.responses.403.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.403.content.application/json.error_code
Section titled “post.responses.403.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.403.content.application/json.message
Section titled “post.responses.403.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.403.headers
Section titled “post.responses.403.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.404
Section titled “post.responses.404”404:
object
Description
Section titled “Description”Integration not found
post.responses.404.content
Section titled “post.responses.404.content”content:
object
post.responses.404.content.application/json
Section titled “post.responses.404.content.application/json”application/json:
object
post.responses.404.content.application/json.details?
Section titled “post.responses.404.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.404.content.application/json.error_code
Section titled “post.responses.404.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.404.content.application/json.message
Section titled “post.responses.404.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.404.headers
Section titled “post.responses.404.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.409
Section titled “post.responses.409”409:
object
Description
Section titled “Description”Integration is not active
post.responses.409.content
Section titled “post.responses.409.content”content:
object
post.responses.409.content.application/json
Section titled “post.responses.409.content.application/json”application/json:
object
post.responses.409.content.application/json.details?
Section titled “post.responses.409.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.409.content.application/json.error_code
Section titled “post.responses.409.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.409.content.application/json.message
Section titled “post.responses.409.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.409.headers
Section titled “post.responses.409.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.500
Section titled “post.responses.500”500:
object
Description
Section titled “Description”Internal server error
post.responses.500.content
Section titled “post.responses.500.content”content:
object
post.responses.500.content.application/json
Section titled “post.responses.500.content.application/json”application/json:
object
post.responses.500.content.application/json.details?
Section titled “post.responses.500.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.500.content.application/json.error_code
Section titled “post.responses.500.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.500.content.application/json.message
Section titled “post.responses.500.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.500.headers
Section titled “post.responses.500.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
optionalput?:undefined
trace?
Section titled “trace?”
optionaltrace?:undefined
/v3/accounting/integration/{integration_id}/reactivate
Section titled “/v3/accounting/integration/{integration_id}/reactivate”/v3/accounting/integration/{integration_id}/reactivate:
object
Defined in: src/accounting/types.gen.ts:54
delete?
Section titled “delete?”
optionaldelete?:undefined
optionalget?:undefined
optionalhead?:undefined
options?
Section titled “options?”
optionaloptions?:undefined
parameters
Section titled “parameters”parameters:
object
parameters.cookie?
Section titled “parameters.cookie?”
optionalcookie?:undefined
parameters.header?
Section titled “parameters.header?”
optionalheader?:undefined
parameters.path?
Section titled “parameters.path?”
optionalpath?:undefined
parameters.query?
Section titled “parameters.query?”
optionalquery?:undefined
patch?
Section titled “patch?”
optionalpatch?:undefined
post:
object
Reactivate accounting integration
Description
Section titled “Description”Reactivate a disconnected accounting integration.
- If integration is DISABLED: Reactivates and returns success- If integration ID doesn't exist: Returns 404 error- If an active integration already exists: Returns 409 errorpost.parameters
Section titled “post.parameters”parameters:
object
post.parameters.cookie?
Section titled “post.parameters.cookie?”
optionalcookie?:undefined
post.parameters.header?
Section titled “post.parameters.header?”
optionalheader?:undefined
post.parameters.path
Section titled “post.parameters.path”path:
object
post.parameters.path.integration_id
Section titled “post.parameters.path.integration_id”integration_id:
string
post.parameters.query?
Section titled “post.parameters.query?”
optionalquery?:undefined
post.requestBody?
Section titled “post.requestBody?”
optionalrequestBody?:undefined
post.responses
Section titled “post.responses”responses:
object
post.responses.200
Section titled “post.responses.200”200:
object
Description
Section titled “Description”Integration reactivated successfully
post.responses.200.content
Section titled “post.responses.200.content”content:
object
post.responses.200.content.application/json
Section titled “post.responses.200.content.application/json”application/json:
object
post.responses.200.content.application/json.created_at
Section titled “post.responses.200.content.application/json.created_at”created_at:
string
Format: date-time
Description
Section titled “Description”Timestamp when the integration was created
Example
Section titled “Example”2025-08-15T10:00:00Zpost.responses.200.content.application/json.integration_id
Section titled “post.responses.200.content.application/json.integration_id”integration_id:
string
Description
Section titled “Description”Unique identifier for the integration
Example
Section titled “Example”int_abc123post.responses.200.content.application/json.status
Section titled “post.responses.200.content.application/json.status”status:
"ACTIVE"|"DISABLED"
Description
Section titled “Description”Current status of the integration
Example
Section titled “Example”ACTIVE@enum {string}post.responses.200.content.application/json.vendor
Section titled “post.responses.200.content.application/json.vendor”vendor:
string
Description
Section titled “Description”The accounting vendor/system. ERP partners must request Brex to create a vendor ID for them to use this field.
post.responses.200.content.application/json.vendor_account_id
Section titled “post.responses.200.content.application/json.vendor_account_id”vendor_account_id:
string
Description
Section titled “Description”The vendor account ID this integration is tied to
Example
Section titled “Example”customer_account_idpost.responses.200.headers
Section titled “post.responses.200.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.401
Section titled “post.responses.401”401:
object
Description
Section titled “Description”Unauthorized
post.responses.401.content
Section titled “post.responses.401.content”content:
object
post.responses.401.content.application/json
Section titled “post.responses.401.content.application/json”application/json:
object
post.responses.401.content.application/json.details?
Section titled “post.responses.401.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.401.content.application/json.error_code
Section titled “post.responses.401.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.401.content.application/json.message
Section titled “post.responses.401.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.401.headers
Section titled “post.responses.401.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.403
Section titled “post.responses.403”403:
object
Description
Section titled “Description”Forbidden
post.responses.403.content
Section titled “post.responses.403.content”content:
object
post.responses.403.content.application/json
Section titled “post.responses.403.content.application/json”application/json:
object
post.responses.403.content.application/json.details?
Section titled “post.responses.403.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.403.content.application/json.error_code
Section titled “post.responses.403.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.403.content.application/json.message
Section titled “post.responses.403.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.403.headers
Section titled “post.responses.403.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.404
Section titled “post.responses.404”404:
object
Description
Section titled “Description”Integration not found
post.responses.404.content
Section titled “post.responses.404.content”content:
object
post.responses.404.content.application/json
Section titled “post.responses.404.content.application/json”application/json:
object
post.responses.404.content.application/json.details?
Section titled “post.responses.404.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.404.content.application/json.error_code
Section titled “post.responses.404.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.404.content.application/json.message
Section titled “post.responses.404.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.404.headers
Section titled “post.responses.404.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.409
Section titled “post.responses.409”409:
object
Description
Section titled “Description”Active integration already exists
post.responses.409.content
Section titled “post.responses.409.content”content:
object
post.responses.409.content.application/json
Section titled “post.responses.409.content.application/json”application/json:
object
post.responses.409.content.application/json.details?
Section titled “post.responses.409.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.409.content.application/json.error_code
Section titled “post.responses.409.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.409.content.application/json.message
Section titled “post.responses.409.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.409.headers
Section titled “post.responses.409.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.500
Section titled “post.responses.500”500:
object
Description
Section titled “Description”Internal server error
post.responses.500.content
Section titled “post.responses.500.content”content:
object
post.responses.500.content.application/json
Section titled “post.responses.500.content.application/json”application/json:
object
post.responses.500.content.application/json.details?
Section titled “post.responses.500.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.500.content.application/json.error_code
Section titled “post.responses.500.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.500.content.application/json.message
Section titled “post.responses.500.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.500.headers
Section titled “post.responses.500.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
optionalput?:undefined
trace?
Section titled “trace?”
optionaltrace?:undefined
/v3/accounting/records
Section titled “/v3/accounting/records”/v3/accounting/records:
object
Defined in: src/accounting/types.gen.ts:78
delete?
Section titled “delete?”
optionaldelete?:undefined
get:
object
Query accounting records
Description
Section titled “Description”Query accounting records by IDs or with filters for polling. When building integrations with Brex accounting workflow, use filter-based polling as a fallback mechanism. Suggested cadence is 1 hour.
**For card and reimbursement records:**Use `review_status` to filter by accounting workflow stage (e.g., READY_FOR_EXPORT, EXPORTED).
**For bill records:**Use `source_type=BILL` with `updated_at[gt]` to poll for updated bill records.
**Filter Constraints:**- `review_status` is only supported with CARD and REIMBURSEMENT source typesget.parameters
Section titled “get.parameters”parameters:
object
get.parameters.cookie?
Section titled “get.parameters.cookie?”
optionalcookie?:undefined
get.parameters.header?
Section titled “get.parameters.header?”
optionalheader?:undefined
get.parameters.path?
Section titled “get.parameters.path?”
optionalpath?:undefined
get.parameters.query?
Section titled “get.parameters.query?”
optionalquery?:object
get.parameters.query.cursor?
Section titled “get.parameters.query.cursor?”
optionalcursor?:string
Description
Section titled “Description”Cursor for pagination
get.parameters.query.ids?
Section titled “get.parameters.query.ids?”
optionalids?:string[]
Description
Section titled “Description”Filter by accounting record IDs. ID size is limited to 500. Example: ids=accr_xxx&ids=accr_yyy
get.parameters.query.limit?
Section titled “get.parameters.query.limit?”
optionallimit?:number
Description
Section titled “Description”Maximum number of records to return. Defaults to 100. The maximum is 500; requests with a higher value are rejected with a 400 error.
get.parameters.query.review_status?
Section titled “get.parameters.query.review_status?”
optionalreview_status?:"PREPARE"|"REVIEW"|"READY_FOR_EXPORT"|"EXPORTED"
Description
Section titled “Description”Filter by review status. Tracks a record’s stage in the accounting review lifecycle, which progresses in this order: PREPARE (the record is being prepared and is not yet ready for review) → REVIEW (the record is ready to be reviewed) → READY_FOR_EXPORT (the record has been reviewed and is queued for export to your ERP) → EXPORTED (the record has been exported).
get.parameters.query.single_entry?
Section titled “get.parameters.query.single_entry?”
optionalsingle_entry?:boolean
Description
Section titled “Description”Toggles the response format between single-entry and double-entry bookkeeping. Set to true to filter out offsetting ledger entries and return only the core cash-flow or economic-impact line items. Defaults to false.
get.parameters.query.source_type?
Section titled “get.parameters.query.source_type?”
optionalsource_type?:"CARD"|"REIMBURSEMENT"|"BILL"
Description
Section titled “Description”Filter by accounting record source type. This is a high-level filter that maps to specific accounting record types. Example: source_type=BILL
get.parameters.query.updated_at?
Section titled “get.parameters.query.updated_at?”
optionalupdated_at?:object
Description
Section titled “Description”Filter by updated_at timestamp range in UTC. Accepts gt (greater than), gte (greater than or equal), lt (less than), lte (less than or equal). Example: updated_at[gte]=2025-01-01
get.parameters.query.updated_at.gt?
Section titled “get.parameters.query.updated_at.gt?”
optionalgt?:string
Format: date-time
Description
Section titled “Description”Minimum value to filter by (exclusive) - ISO 8601 format
Example
Section titled “Example”2025-01-01T00:00:00Zget.parameters.query.updated_at.gte?
Section titled “get.parameters.query.updated_at.gte?”
optionalgte?:string
Format: date-time
Description
Section titled “Description”Minimum value to filter by (inclusive) - ISO 8601 format
Example
Section titled “Example”2025-01-01T00:00:00Zget.parameters.query.updated_at.lt?
Section titled “get.parameters.query.updated_at.lt?”
optionallt?:string
Format: date-time
Description
Section titled “Description”Maximum value to filter by (exclusive) - ISO 8601 format
Example
Section titled “Example”2025-01-01T00:00:00Zget.parameters.query.updated_at.lte?
Section titled “get.parameters.query.updated_at.lte?”
optionallte?:string
Format: date-time
Description
Section titled “Description”Maximum value to filter by (inclusive) - ISO 8601 format
Example
Section titled “Example”2025-01-01T23:59:59.999Zget.requestBody?
Section titled “get.requestBody?”
optionalrequestBody?:undefined
get.responses
Section titled “get.responses”responses:
object
get.responses.200
Section titled “get.responses.200”200:
object
Description
Section titled “Description”Query accounting records response
get.responses.200.content
Section titled “get.responses.200.content”content:
object
get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”application/json:
object
get.responses.200.content.application/json.has_next_page
Section titled “get.responses.200.content.application/json.has_next_page”has_next_page:
boolean
Description
Section titled “Description”Whether there are more results available
get.responses.200.content.application/json.items
Section titled “get.responses.200.content.application/json.items”items:
object[]
Description
Section titled “Description”List of accounting records
get.responses.200.content.application/json.next_cursor?
Section titled “get.responses.200.content.application/json.next_cursor?”
optionalnext_cursor?:string|null
Description
Section titled “Description”Cursor for the next page of results
get.responses.200.content.application/json.total_count?
Section titled “get.responses.200.content.application/json.total_count?”
optionaltotal_count?:number|null
Format: int32
Description
Section titled “Description”Total count of records matching the query
get.responses.200.headers
Section titled “get.responses.200.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
get.responses.400
Section titled “get.responses.400”400:
object
Description
Section titled “Description”Bad request
get.responses.400.content
Section titled “get.responses.400.content”content:
object
get.responses.400.content.application/json
Section titled “get.responses.400.content.application/json”application/json:
object
get.responses.400.content.application/json.details?
Section titled “get.responses.400.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
get.responses.400.content.application/json.error_code
Section titled “get.responses.400.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}get.responses.400.content.application/json.message
Section titled “get.responses.400.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.get.responses.400.headers
Section titled “get.responses.400.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
get.responses.401
Section titled “get.responses.401”401:
object
Description
Section titled “Description”Unauthorized
get.responses.401.content
Section titled “get.responses.401.content”content:
object
get.responses.401.content.application/json
Section titled “get.responses.401.content.application/json”application/json:
object
get.responses.401.content.application/json.details?
Section titled “get.responses.401.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
get.responses.401.content.application/json.error_code
Section titled “get.responses.401.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}get.responses.401.content.application/json.message
Section titled “get.responses.401.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.get.responses.401.headers
Section titled “get.responses.401.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
get.responses.403
Section titled “get.responses.403”403:
object
Description
Section titled “Description”Forbidden
get.responses.403.content
Section titled “get.responses.403.content”content:
object
get.responses.403.content.application/json
Section titled “get.responses.403.content.application/json”application/json:
object
get.responses.403.content.application/json.details?
Section titled “get.responses.403.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
get.responses.403.content.application/json.error_code
Section titled “get.responses.403.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}get.responses.403.content.application/json.message
Section titled “get.responses.403.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.get.responses.403.headers
Section titled “get.responses.403.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
get.responses.500
Section titled “get.responses.500”500:
object
Description
Section titled “Description”Internal server error
get.responses.500.content
Section titled “get.responses.500.content”content:
object
get.responses.500.content.application/json
Section titled “get.responses.500.content.application/json”application/json:
object
get.responses.500.content.application/json.details?
Section titled “get.responses.500.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
get.responses.500.content.application/json.error_code
Section titled “get.responses.500.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}get.responses.500.content.application/json.message
Section titled “get.responses.500.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.get.responses.500.headers
Section titled “get.responses.500.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
optionalhead?:undefined
options?
Section titled “options?”
optionaloptions?:undefined
parameters
Section titled “parameters”parameters:
object
parameters.cookie?
Section titled “parameters.cookie?”
optionalcookie?:undefined
parameters.header?
Section titled “parameters.header?”
optionalheader?:undefined
parameters.path?
Section titled “parameters.path?”
optionalpath?:undefined
parameters.query?
Section titled “parameters.query?”
optionalquery?:undefined
patch?
Section titled “patch?”
optionalpatch?:undefined
optionalpost?:undefined
optionalput?:undefined
trace?
Section titled “trace?”
optionaltrace?:undefined
/v3/accounting/records/{record_id}
Section titled “/v3/accounting/records/{record_id}”/v3/accounting/records/{record_id}:
object
Defined in: src/accounting/types.gen.ts:107
delete?
Section titled “delete?”
optionaldelete?:undefined
get:
object
Get accounting record by ID
Description
Section titled “Description”Retrieve a single accounting record by its unique identifier
get.parameters
Section titled “get.parameters”parameters:
object
get.parameters.cookie?
Section titled “get.parameters.cookie?”
optionalcookie?:undefined
get.parameters.header?
Section titled “get.parameters.header?”
optionalheader?:undefined
get.parameters.path
Section titled “get.parameters.path”path:
object
get.parameters.path.record_id
Section titled “get.parameters.path.record_id”record_id:
string
get.parameters.query?
Section titled “get.parameters.query?”
optionalquery?:object
get.parameters.query.single_entry?
Section titled “get.parameters.query.single_entry?”
optionalsingle_entry?:boolean
Description
Section titled “Description”Toggles the response format between single-entry and double-entry bookkeeping. Set to true to filter out offsetting ledger entries and return only the core cash-flow or economic-impact line items. Defaults to false.
get.requestBody?
Section titled “get.requestBody?”
optionalrequestBody?:undefined
get.responses
Section titled “get.responses”responses:
object
get.responses.200
Section titled “get.responses.200”200:
object
Description
Section titled “Description”Accounting record retrieved successfully
get.responses.200.content
Section titled “get.responses.200.content”content:
object
get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”application/json:
object
get.responses.200.content.application/json.amount
Section titled “get.responses.200.content.application/json.amount”amount:
object
Description
Section titled “Description”Amount of the accounting record
get.responses.200.content.application/json.amount.amount
Section titled “get.responses.200.content.application/json.amount.amount”amount:
number
Description
Section titled “Description”The amount
Example
Section titled “Example”100get.responses.200.content.application/json.amount.currency
Section titled “get.responses.200.content.application/json.amount.currency”currency:
string
Description
Section titled “Description”The currency
Example
Section titled “Example”USDget.responses.200.content.application/json.due_at?
Section titled “get.responses.200.content.application/json.due_at?”
optionaldue_at?:string|null
Format: date-time
Description
Section titled “Description”Source due at in UTC timezone. For bills only
get.responses.200.content.application/json.erp_posting_date
Section titled “get.responses.200.content.application/json.erp_posting_date”erp_posting_date:
string
Format: date-time
Description
Section titled “Description”ERP impact date in UTC timezone
get.responses.200.content.application/json.id
Section titled “get.responses.200.content.application/json.id”id:
string
Description
Section titled “Description”Unique identifier for the accounting record
Example
Section titled “Example”accr_abc123get.responses.200.content.application/json.invoice_number?
Section titled “get.responses.200.content.application/json.invoice_number?”
optionalinvoice_number?:string|null
Description
Section titled “Description”Invoice number. For bills only
get.responses.200.content.application/json.line_items
Section titled “get.responses.200.content.application/json.line_items”line_items:
object[]
Description
Section titled “Description”Line items for double-entry bookkeeping
get.responses.200.content.application/json.memo?
Section titled “get.responses.200.content.application/json.memo?”
optionalmemo?:string|null
Description
Section titled “Description”Memo/description
get.responses.200.content.application/json.original_amount?
Section titled “get.responses.200.content.application/json.original_amount?”
optionaloriginal_amount?: {amount:number;currency:string; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ amount: number; currency: string; }
amount
Section titled “amount”amount:
number
Description
Section titled “Description”The amount
Example
Section titled “Example”100currency
Section titled “currency”currency:
string
Description
Section titled “Description”The currency
Example
Section titled “Example”USDnull
Description
Section titled “Description”Original amount if different from current
get.responses.200.content.application/json.posted_at
Section titled “get.responses.200.content.application/json.posted_at”posted_at:
string
Format: date-time
Description
Section titled “Description”Source posted date in UTC timezone
get.responses.200.content.application/json.receipts?
Section titled “get.responses.200.content.application/json.receipts?”
optionalreceipts?:object[] |null
Description
Section titled “Description”Associated receipts
get.responses.200.content.application/json.review_status
Section titled “get.responses.200.content.application/json.review_status”review_status:
"PREPARE"|"REVIEW"|"READY_FOR_EXPORT"|"EXPORTED"
Description
Section titled “Description”Current review status of the record in the accounting review lifecycle: PREPARE → REVIEW → READY_FOR_EXPORT → EXPORTED.
get.responses.200.content.application/json.source_id?
Section titled “get.responses.200.content.application/json.source_id?”
optionalsource_id?:string|null
Description
Section titled “Description”Source transaction ID
get.responses.200.content.application/json.source_type
Section titled “get.responses.200.content.application/json.source_type”source_type:
"CARD"|"REIMBURSEMENT"|"BILL"
Description
Section titled “Description”Source type
get.responses.200.content.application/json.type
Section titled “get.responses.200.content.application/json.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
Section titled “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 bankget.responses.200.content.application/json.updated_at
Section titled “get.responses.200.content.application/json.updated_at”updated_at:
string
Format: date-time
Description
Section titled “Description”Last update timestamp in UTC timezone
get.responses.200.content.application/json.user?
Section titled “get.responses.200.content.application/json.user?”
optionaluser?: {department_id?:string;department_name?:string;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
Section titled “Union Members”Type Literal
Section titled “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?
Section titled “department_id?”
optionaldepartment_id?:string
Description
Section titled “Description”The ID of the user’s department
Example
Section titled “Example”VXNlcjpjdXVzZXJfMTIzNA==department_name?
Section titled “department_name?”
optionaldepartment_name?:string
Description
Section titled “Description”The user’s department name
Example
Section titled “Example”Engineeringemail:
string
Description
Section titled “Description”The user’s email address
Example
Section titled “Example”john.doe@example.comfirst_name
Section titled “first_name”first_name:
string
Description
Section titled “Description”The user’s first name
Example
Section titled “Example”Johnid:
string
Description
Section titled “Description”The ID of the user
Example
Section titled “Example”VXNlcjpjdXVzZXJfMTIzNA==last_name
Section titled “last_name”last_name:
string
Description
Section titled “Description”The user’s last name
Example
Section titled “Example”Doelocation_id?
Section titled “location_id?”
optionallocation_id?:string
Description
Section titled “Description”The ID of the user’s location
Example
Section titled “Example”VXNlcjpjdXVzZXJfMTIzNA==location_name?
Section titled “location_name?”
optionallocation_name?:string
Description
Section titled “Description”The user’s location name
Example
Section titled “Example”San Franciscomanager_first_name?
Section titled “manager_first_name?”
optionalmanager_first_name?:string
Description
Section titled “Description”The user’s manager first name
Example
Section titled “Example”Janemanager_id?
Section titled “manager_id?”
optionalmanager_id?:string
Description
Section titled “Description”The ID of the user’s manager
Example
Section titled “Example”VXNlcjpjdXVzZXJfMTIzNA==manager_last_name?
Section titled “manager_last_name?”
optionalmanager_last_name?:string
Description
Section titled “Description”The user’s manager last name
Example
Section titled “Example”Smithmanager_title_id?
Section titled “manager_title_id?”
optionalmanager_title_id?:string
Description
Section titled “Description”The user’s manager title ID
Example
Section titled “Example”VGl0bGU6dGl0bGVfMTIzNA==manager_title_name?
Section titled “manager_title_name?”
optionalmanager_title_name?:string
Description
Section titled “Description”The user’s manager title display name
Example
Section titled “Example”Engineering Managerrole:
"ACCOUNT_ADMIN"|"AP_CLERK"|"BOOKKEEPER"|"CARD_ADMIN"|"EMPLOYEE"|"EMPLOYEE_WITHOUT_CORP_CARDS"|"EXPENSE_ADMIN"|"SUPER_ADMIN"|"USER_MANAGEMENT_ADMIN"
Description
Section titled “Description”The user’s role in the system
Example
Section titled “Example”CARD_ADMIN@enum {string}status
Section titled “status”status:
"ACTIVE"|"DISABLED"|"ARCHIVED"|"DELETED"|"INACTIVE"|"INVITED"|"PENDING_ACTIVATION"
Description
Section titled “Description”The user’s status in the system
Example
Section titled “Example”ACTIVE@enum {string}title_id?
Section titled “title_id?”
optionaltitle_id?:string
Description
Section titled “Description”The user’s title ID
Example
Section titled “Example”VGl0bGU6dGl0bGVfMTIzNA==title_name?
Section titled “title_name?”
optionaltitle_name?:string
Description
Section titled “Description”The user’s title display name
Example
Section titled “Example”Software Engineernull
Description
Section titled “Description”User associated with the record
get.responses.200.content.application/json.vendor?
Section titled “get.responses.200.content.application/json.vendor?”
optionalvendor?: {contact_name?:string|null;email?:string|null;id:string;name:string;phone?:string|null;website?:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ contact_name?: string | null; email?: string | null; id: string; name: string; phone?: string | null; website?: string | null; }
contact_name?
Section titled “contact_name?”
optionalcontact_name?:string|null
Description
Section titled “Description”The name of the contact for the vendor
Example
Section titled “Example”Jane Smithemail?
Section titled “email?”
optionalemail?:string|null
Description
Section titled “Description”The email for the vendor
Example
Section titled “Example”contact@acme.comid:
string
Description
Section titled “Description”The unique identifier for the vendor
Example
Section titled “Example”vendor_123name:
string
Description
Section titled “Description”The name of the vendor
Example
Section titled “Example”Acme Corpphone?
Section titled “phone?”
optionalphone?:string|null
Description
Section titled “Description”The phone number for the vendor
Example
Section titled “Example”+1-555-123-4567website?
Section titled “website?”
optionalwebsite?:string|null
Description
Section titled “Description”The website of the vendor
Example
Section titled “Example”https://acme.comnull
Description
Section titled “Description”Vendor information
get.responses.200.content.application/json.version
Section titled “get.responses.200.content.application/json.version”version:
number
Description
Section titled “Description”Version number
get.responses.200.headers
Section titled “get.responses.200.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
get.responses.400
Section titled “get.responses.400”400:
object
Description
Section titled “Description”Bad request
get.responses.400.content
Section titled “get.responses.400.content”content:
object
get.responses.400.content.application/json
Section titled “get.responses.400.content.application/json”application/json:
object
get.responses.400.content.application/json.details?
Section titled “get.responses.400.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
get.responses.400.content.application/json.error_code
Section titled “get.responses.400.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}get.responses.400.content.application/json.message
Section titled “get.responses.400.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.get.responses.400.headers
Section titled “get.responses.400.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
get.responses.401
Section titled “get.responses.401”401:
object
Description
Section titled “Description”Unauthorized
get.responses.401.content
Section titled “get.responses.401.content”content:
object
get.responses.401.content.application/json
Section titled “get.responses.401.content.application/json”application/json:
object
get.responses.401.content.application/json.details?
Section titled “get.responses.401.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
get.responses.401.content.application/json.error_code
Section titled “get.responses.401.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}get.responses.401.content.application/json.message
Section titled “get.responses.401.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.get.responses.401.headers
Section titled “get.responses.401.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
get.responses.403
Section titled “get.responses.403”403:
object
Description
Section titled “Description”Forbidden
get.responses.403.content
Section titled “get.responses.403.content”content:
object
get.responses.403.content.application/json
Section titled “get.responses.403.content.application/json”application/json:
object
get.responses.403.content.application/json.details?
Section titled “get.responses.403.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
get.responses.403.content.application/json.error_code
Section titled “get.responses.403.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}get.responses.403.content.application/json.message
Section titled “get.responses.403.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.get.responses.403.headers
Section titled “get.responses.403.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
get.responses.404
Section titled “get.responses.404”404:
object
Description
Section titled “Description”Record not found
get.responses.404.content
Section titled “get.responses.404.content”content:
object
get.responses.404.content.application/json
Section titled “get.responses.404.content.application/json”application/json:
object
get.responses.404.content.application/json.details?
Section titled “get.responses.404.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
get.responses.404.content.application/json.error_code
Section titled “get.responses.404.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}get.responses.404.content.application/json.message
Section titled “get.responses.404.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.get.responses.404.headers
Section titled “get.responses.404.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
get.responses.500
Section titled “get.responses.500”500:
object
Description
Section titled “Description”Internal server error
get.responses.500.content
Section titled “get.responses.500.content”content:
object
get.responses.500.content.application/json
Section titled “get.responses.500.content.application/json”application/json:
object
get.responses.500.content.application/json.details?
Section titled “get.responses.500.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
get.responses.500.content.application/json.error_code
Section titled “get.responses.500.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}get.responses.500.content.application/json.message
Section titled “get.responses.500.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.get.responses.500.headers
Section titled “get.responses.500.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
optionalhead?:undefined
options?
Section titled “options?”
optionaloptions?:undefined
parameters
Section titled “parameters”parameters:
object
parameters.cookie?
Section titled “parameters.cookie?”
optionalcookie?:undefined
parameters.header?
Section titled “parameters.header?”
optionalheader?:undefined
parameters.path?
Section titled “parameters.path?”
optionalpath?:undefined
parameters.query?
Section titled “parameters.query?”
optionalquery?:undefined
patch?
Section titled “patch?”
optionalpatch?:undefined
optionalpost?:undefined
optionalput?:undefined
trace?
Section titled “trace?”
optionaltrace?:undefined
/v3/accounting/records/export-results
Section titled “/v3/accounting/records/export-results”/v3/accounting/records/export-results:
object
Defined in: src/accounting/types.gen.ts:127
delete?
Section titled “delete?”
optionaldelete?:undefined
optionalget?:undefined
optionalhead?:undefined
options?
Section titled “options?”
optionaloptions?:undefined
parameters
Section titled “parameters”parameters:
object
parameters.cookie?
Section titled “parameters.cookie?”
optionalcookie?:undefined
parameters.header?
Section titled “parameters.header?”
optionalheader?:undefined
parameters.path?
Section titled “parameters.path?”
optionalpath?:undefined
parameters.query?
Section titled “parameters.query?”
optionalquery?:undefined
patch?
Section titled “patch?”
optionalpatch?:undefined
post:
object
Report accounting export results
Description
Section titled “Description”Report export success or failure for accounting records.
post.parameters
Section titled “post.parameters”parameters:
object
post.parameters.cookie?
Section titled “post.parameters.cookie?”
optionalcookie?:undefined
post.parameters.header?
Section titled “post.parameters.header?”
optionalheader?:undefined
post.parameters.path?
Section titled “post.parameters.path?”
optionalpath?:undefined
post.parameters.query?
Section titled “post.parameters.query?”
optionalquery?:undefined
post.requestBody
Section titled “post.requestBody”requestBody:
object
post.requestBody.content
Section titled “post.requestBody.content”content:
object
post.requestBody.content.application/json
Section titled “post.requestBody.content.application/json”application/json:
object
post.requestBody.content.application/json.results
Section titled “post.requestBody.content.application/json.results”results: ({
accounting_record_id:string;failure: {error_message:string; }; } | {accounting_record_id:string;success: {deep_link_url?:string;reference_id?:string|null; }; })[]
Description
Section titled “Description”Array of export results (must contain at least one result)
post.responses
Section titled “post.responses”responses:
object
post.responses.200
Section titled “post.responses.200”200:
object
Description
Section titled “Description”Export results processed successfully
post.responses.200.content
Section titled “post.responses.200.content”content:
object
post.responses.200.content.application/json
Section titled “post.responses.200.content.application/json”application/json:
object
post.responses.200.content.application/json.updated_accounting_record_ids
Section titled “post.responses.200.content.application/json.updated_accounting_record_ids”updated_accounting_record_ids:
string[]
Description
Section titled “Description”Accounting record ids that were updated by the request
Example
Section titled “Example”[ "accr_abc123", "accr_def456" ]post.responses.200.headers
Section titled “post.responses.200.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.404
Section titled “post.responses.404”404:
object
Description
Section titled “Description”Not found - Given accounting record id is not found
post.responses.404.content
Section titled “post.responses.404.content”content:
object
post.responses.404.content.application/json
Section titled “post.responses.404.content.application/json”application/json:
object
post.responses.404.content.application/json.details?
Section titled “post.responses.404.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.404.content.application/json.error_code
Section titled “post.responses.404.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.404.content.application/json.message
Section titled “post.responses.404.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.404.headers
Section titled “post.responses.404.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.422
Section titled “post.responses.422”422:
object
Description
Section titled “Description”Validation failed (duplicate accounting record ids or records not READY_FOR_EXPORT)
post.responses.422.content
Section titled “post.responses.422.content”content:
object
post.responses.422.content.application/json
Section titled “post.responses.422.content.application/json”application/json:
object
post.responses.422.content.application/json.details?
Section titled “post.responses.422.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.422.content.application/json.error_code
Section titled “post.responses.422.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.422.content.application/json.message
Section titled “post.responses.422.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.422.headers
Section titled “post.responses.422.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
post.responses.500
Section titled “post.responses.500”500:
object
Description
Section titled “Description”Internal server error
post.responses.500.content
Section titled “post.responses.500.content”content:
object
post.responses.500.content.application/json
Section titled “post.responses.500.content.application/json”application/json:
object
post.responses.500.content.application/json.details?
Section titled “post.responses.500.content.application/json.details?”
optionaldetails?:object&object|null
Description
Section titled “Description”Additional error context
post.responses.500.content.application/json.error_code
Section titled “post.responses.500.content.application/json.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
Section titled “Description”Machine-readable error code
Example
Section titled “Example”INVALID_REQUEST@enum {string}post.responses.500.content.application/json.message
Section titled “post.responses.500.content.application/json.message”message:
string
Description
Section titled “Description”Human-readable error message
Example
Section titled “Example”The request is malformed or contains invalid data.post.responses.500.headers
Section titled “post.responses.500.headers”headers:
object
Index Signature
Section titled “Index Signature”[name: string]: unknown
optionalput?:undefined
trace?
Section titled “trace?”
optionaltrace?:undefined