ExpensesComponents
Defined in: src/expenses/types.gen.ts:135
Properties
Section titled “Properties”headers
Section titled “headers”headers:
never
Defined in: src/expenses/types.gen.ts:855
parameters
Section titled “parameters”parameters:
never
Defined in: src/expenses/types.gen.ts:853
pathItems
Section titled “pathItems”pathItems:
never
Defined in: src/expenses/types.gen.ts:856
requestBodies
Section titled “requestBodies”requestBodies:
never
Defined in: src/expenses/types.gen.ts:854
responses
Section titled “responses”responses:
never
Defined in: src/expenses/types.gen.ts:852
schemas
Section titled “schemas”schemas:
object
Defined in: src/expenses/types.gen.ts:136
Address
Section titled “Address”Address:
object
Description
Section titled “Description”Company business address (must be in the US; no PO box or virtual/forwarding addresses allowed).
Address.city?
Section titled “Address.city?”
optionalcity?:string|null
Description
Section titled “Description”City, district, suburb, town, or village.
Address.country?
Section titled “Address.country?”
optionalcountry?:string|null
Description
Section titled “Description”Two-letter country code (ISO 3166-1 alpha-2).
Address.line1?
Section titled “Address.line1?”
optionalline1?:string|null
Description
Section titled “Description”Address line 1, no PO Box.
Address.line2?
Section titled “Address.line2?”
optionalline2?:string|null
Description
Section titled “Description”Address line 2 (e.g., apartment, suite, unit, or building).
Address.phone_number?
Section titled “Address.phone_number?”
optionalphone_number?:string|null
Description
Section titled “Description”Phone number.
Address.postal_code?
Section titled “Address.postal_code?”
optionalpostal_code?:string|null
Description
Section titled “Description”ZIP or postal code.
Address.state?
Section titled “Address.state?”
optionalstate?:string|null
Description
Section titled “Description”For US-addressed the 2-letter State abbreviation. For international-addresses the county, providence, or region.
ApprovalStepDetails
Section titled “ApprovalStepDetails”ApprovalStepDetails:
object
ApprovalStepDetails.copilot_reviewer?
Section titled “ApprovalStepDetails.copilot_reviewer?”
optionalcopilot_reviewer?: {department_id?:string|null;first_name:string;id:string;last_name:string;location_id?:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ department_id?: string | null; first_name: string; id: string; last_name: string; location_id?: string | null; }
department_id?
Section titled “department_id?”
optionaldepartment_id?:string|null
first_name
Section titled “first_name”first_name:
string
Description
Section titled “Description”First name of the User.
id:
string
Description
Section titled “Description”Unique ID for the User.
last_name
Section titled “last_name”last_name:
string
Description
Section titled “Description”Last name of the User.
location_id?
Section titled “location_id?”
optionallocation_id?:string|null
null
ApprovalStepDetails.pending_reviewers?
Section titled “ApprovalStepDetails.pending_reviewers?”
optionalpending_reviewers?:object[] |null
ApprovalStepDetails.resolved_at?
Section titled “ApprovalStepDetails.resolved_at?”
optionalresolved_at?:string|null
Format: date-time
ApprovalStepDetails.reviewer?
Section titled “ApprovalStepDetails.reviewer?”
optionalreviewer?: {department_id?:string|null;first_name:string;id:string;last_name:string;location_id?:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ department_id?: string | null; first_name: string; id: string; last_name: string; location_id?: string | null; }
department_id?
Section titled “department_id?”
optionaldepartment_id?:string|null
first_name
Section titled “first_name”first_name:
string
Description
Section titled “Description”First name of the User.
id:
string
Description
Section titled “Description”Unique ID for the User.
last_name
Section titled “last_name”last_name:
string
Description
Section titled “Description”Last name of the User.
location_id?
Section titled “location_id?”
optionallocation_id?:string|null
null
ApprovalStepDetails.status?
Section titled “ApprovalStepDetails.status?”
optionalstatus?:string|null
BooleanListValue
Section titled “BooleanListValue”BooleanListValue:
object&object&object&object&object
Boolean list value
Type Declaration
Section titled “Type Declaration”
optionaldata?:boolean[] |null
data_type
Section titled “data_type”data_type:
"BOOLEAN"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Boolean list value for a custom field
BooleanValue
Section titled “BooleanValue”BooleanValue:
object&object&object&object&object
Boolean value
Type Declaration
Section titled “Type Declaration”
optionaldata?:boolean|null
Description
Section titled “Description”The data of the custom field.
data_type
Section titled “data_type”data_type:
"BOOLEAN"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Boolean value for a custom field
Budget
Section titled “Budget”Budget:
object
Budget.id
Section titled “Budget.id”id:
string
Description
Section titled “Description”Unique ID for the Budget.
Budget.name
Section titled “Budget.name”name:
string
Description
Section titled “Description”Name for the Budget.
CardPaymentInstrument
Section titled “CardPaymentInstrument”CardPaymentInstrument:
object&object&object
Type Declaration
Section titled “Type Declaration”type:
"CARD"
Type Declaration
Section titled “Type Declaration”id:
string
Description
Section titled “Description”Unique ID for the card.
type:
"CARD"
Type Declaration
Section titled “Type Declaration”type:
"CARD"
Description
Section titled “Description”discriminator enum property added by openapi-typescript
Category
Section titled “Category”Category:
"GROCERY"|"TELEPHONY"|"OFFICE_SUPPLIES"|"PRIVATE_AIR_TRAVEL"|"CLOTHING"|"CAR_RENTAL"|"VEHICLE_EXPENSES"|"RESTAURANTS"|"GAMBLING"|"FLOWERS"|"ELECTRONICS"|"LEGAL_SERVICES"|"UTILITIES"|"FURNITURE"|"LAUNDRY"|"EVENT_EXPENSES"|"SHIPPING"|"OTHER_TRAVEL_EXPENSES"|"CHARITY"|"LODGING"|"FACILITIES_EXPENSES"|"SERVERS"|"CONFERENCES"|"FOOD_DELIVERY"|"RENT"|"AIRLINE_EXPENSES"|"OTHER_BUSINESS_EXPENSES"|"CORPORATE_INSURANCE"|"DIGITAL_GOODS"|"GENERAL_MERCHANDISE"|"MEDICAL"|"PARKING_EXPENSES"|"POLITICAL_DONATIONS"|"PUBLIC_TRANSPORTATION"|"ADVERTISING_AND_MARKETING"|"BARS_AND_NIGHTLIFE"|"SOFTWARE_NON_RECURRING"|"BANK_AND_FINANCIAL_FEES"|"BOOKS_AND_NEWSPAPERS"|"CONSULTANT_AND_CONTRACTOR"|"FEES_AND_LICENSES_AND_TAXES"|"GAS_AND_FUEL"|"MEMBERSHIPS_AND_CLUBS"|"RECURRING_SOFTWARE_AND_SAAS"|"RIDESHARE_AND_TAXI"|"TOLL_AND_BRIDGE_FEES"|"TRAINING_AND_EDUCATION"|"TRAVEL_WIFI"
Description
Section titled “Description”The category of expenses.
CreateAsyncFileUploadResponse
Section titled “CreateAsyncFileUploadResponse”CreateAsyncFileUploadResponse:
object
Description
Section titled “Description”The pre-signed file upload URI and unique identifier of the request.
CreateAsyncFileUploadResponse.id
Section titled “CreateAsyncFileUploadResponse.id”id:
string
Description
Section titled “Description”The unique identifier for the request.
CreateAsyncFileUploadResponse.uri
Section titled “CreateAsyncFileUploadResponse.uri”uri:
string
Description
Section titled “Description”The pre-signed S3 link that should be used to upload the file. The maximum size accepted for this document is 50 MB.
CustomerLocation
Section titled “CustomerLocation”CustomerLocation:
object
Description
Section titled “Description”The location associated with the expense.
CustomerLocation.id
Section titled “CustomerLocation.id”id:
string
Description
Section titled “Description”The unique identifier for the location.
CustomerLocation.name
Section titled “CustomerLocation.name”name:
string
Description
Section titled “Description”The name of the location.
CustomField
Section titled “CustomField”CustomField:
object
CustomField.key
Section titled “CustomField.key”key:
string
Description
Section titled “Description”The key of the custom field.
CustomField.value
Section titled “CustomField.value”value:
object&object&object&object&object|object&object&object&object&object|object&object&object&object&object|object&object&object&object&object|object&object&object&object&object|object&object&object&object&object|object&object&object&object&object|object&object&object&object&object|object&object&object&object&object|object&object&object&object&object|object&object&object&object&object|object&object&object&object&object|object&object&object&object&object|object&object&object&object&object|object&object&object&object&object|object&object&object&object&object
CustomField.ValueWrapper
Section titled “CustomField.ValueWrapper”CustomField.ValueWrapper:
object
Description
Section titled “Description”Base class for custom field values
CustomField.ValueWrapper.data_type
Section titled “CustomField.ValueWrapper.data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
CustomField.ValueWrapper.value_type
Section titled “CustomField.ValueWrapper.value_type”value_type:
"SINGLE_VALUE"|"LIST"
CustomField.ValueWrapper.MultipleValueWrapper
Section titled “CustomField.ValueWrapper.MultipleValueWrapper”CustomField.ValueWrapper.MultipleValueWrapper:
object&object&object
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Description
Section titled “Description”Multiple value wrapper for custom fields
CustomField.ValueWrapper.SingleValueWrapper
Section titled “CustomField.ValueWrapper.SingleValueWrapper”CustomField.ValueWrapper.SingleValueWrapper:
object&object&object
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Description
Section titled “Description”Single value wrapper for custom fields
CustomFieldDataType
Section titled “CustomFieldDataType”CustomFieldDataType:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”The type of the custom field data.
CustomFieldValueType
Section titled “CustomFieldValueType”CustomFieldValueType:
"SINGLE_VALUE"|"LIST"
Description
Section titled “Description”The type of the custom field value.
DateListValue
Section titled “DateListValue”DateListValue:
object&object&object&object&object
Date list value
Type Declaration
Section titled “Type Declaration”
optionaldata?:string[] |null
data_type
Section titled “data_type”data_type:
"DATE"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Date list value for a custom field
DateValue
Section titled “DateValue”DateValue:
object&object&object&object&object
Date value
Type Declaration
Section titled “Type Declaration”
optionaldata?:string|null
Format: date
Description
Section titled “Description”The data of the custom field.
data_type
Section titled “data_type”data_type:
"DATE"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Date value for a custom field
DecimalListValue
Section titled “DecimalListValue”DecimalListValue:
object&object&object&object&object
Decimal list value
Type Declaration
Section titled “Type Declaration”
optionaldata?:number[] |null
data_type
Section titled “data_type”data_type:
"DECIMAL"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Decimal list value for a custom field
DecimalValue
Section titled “DecimalValue”DecimalValue:
object&object&object&object&object
Decimal value
Type Declaration
Section titled “Type Declaration”
optionaldata?:number|null
Description
Section titled “Description”The data of the custom field.
data_type
Section titled “data_type”data_type:
"DECIMAL"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Decimal value for a custom field
Department
Section titled “Department”Department:
object
Description
Section titled “Description”The department associated with the expense.
Department.id
Section titled “Department.id”id:
string
Description
Section titled “Description”The unique identifier for the department.
Department.name
Section titled “Department.name”name:
string
Description
Section titled “Description”The name of the department.
EnumListValue
Section titled “EnumListValue”EnumListValue:
object&object&object&object&object
Enum list value
Type Declaration
Section titled “Type Declaration”
optionaldata?:string[] |null
data_type
Section titled “data_type”data_type:
"ENUM"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Enum list value for a custom field
EnumValue
Section titled “EnumValue”EnumValue:
object&object&object&object&object
Enum value
Type Declaration
Section titled “Type Declaration”
optionaldata?:string|null
Format: enum
Description
Section titled “Description”The data of the custom field.
data_type
Section titled “data_type”data_type:
"ENUM"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Enum value for a custom field
ExpandableExpense
Section titled “ExpandableExpense”ExpandableExpense:
object
Description
Section titled “Description”The expense object that has expandable fields, e.g., location, department, merchant, receipts.download_uris, user, budget, payment, spending_entity, and policy.
ExpandableExpense.address?
Section titled “ExpandableExpense.address?”
optionaladdress?: {city?:string|null;coordinates?: {latitude:number;longitude:number; } |null;country?:string|null;line1?:string|null;line2?:string|null;postal_code?:string|null;state?:string|null;timezone?:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ city?: string | null; coordinates?: { latitude: number; longitude: number; } | null; country?: string | null; line1?: string | null; line2?: string | null; postal_code?: string | null; state?: string | null; timezone?: string | null; }
optionalcity?:string|null
Description
Section titled “Description”City, district, suburb, town, or village.
coordinates?
Section titled “coordinates?”
optionalcoordinates?: {latitude:number;longitude:number; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ latitude: number; longitude: number; }
latitude
Section titled “latitude”latitude:
number
Format: double
longitude
Section titled “longitude”longitude:
number
Format: double
null
country?
Section titled “country?”
optionalcountry?:string|null
Description
Section titled “Description”Two-letter country code (ISO 3166-1 alpha-2).
line1?
Section titled “line1?”
optionalline1?:string|null
Description
Section titled “Description”Address line 1, no PO Box.
line2?
Section titled “line2?”
optionalline2?:string|null
Description
Section titled “Description”Address line 2 (e.g., apartment, suite, unit, or building).
postal_code?
Section titled “postal_code?”
optionalpostal_code?:string|null
Description
Section titled “Description”ZIP or postal code.
state?
Section titled “state?”
optionalstate?:string|null
Description
Section titled “Description”For US-addressed the 2-letter State abbreviation. For international-addresses the county, providence, or region.
timezone?
Section titled “timezone?”
optionaltimezone?:string|null
Description
Section titled “Description”Timezone.
null
ExpandableExpense.approved_at?
Section titled “ExpandableExpense.approved_at?”
optionalapproved_at?:string|null
Format: date-time
Description
Section titled “Description”The time the expense is approved.
ExpandableExpense.billing_amount?
Section titled “ExpandableExpense.billing_amount?”
optionalbilling_amount?: {amount:number;currency:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ amount: number; currency: string | null; }
amount
Section titled “amount”amount:
number
Format: int64
Description
Section titled “Description”The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
Example
Section titled “Example”700currency
Section titled “currency”currency:
string|null
Description
Section titled “Description”The type of currency, in ISO 4217 format.
Default
Section titled “Default”USDExample
Section titled “Example”USDnull
ExpandableExpense.billing_entity_id?
Section titled “ExpandableExpense.billing_entity_id?”
optionalbilling_entity_id?:string|null
Description
Section titled “Description”ID of the legal entity responsible for billing the expense.
ExpandableExpense.booking_id?
Section titled “ExpandableExpense.booking_id?”
optionalbooking_id?:string|null
Description
Section titled “Description”The booking ID associated with the expense if it is a trip expense.
ExpandableExpense.budget?
Section titled “ExpandableExpense.budget?”
optionalbudget?: {id:string;name:string; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ id: string; name: string; }
id:
string
Description
Section titled “Description”Unique ID for the Budget.
name:
string
Description
Section titled “Description”Name for the Budget.
null
ExpandableExpense.budget_amount?
Section titled “ExpandableExpense.budget_amount?”
optionalbudget_amount?: {amount:number;currency:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ amount: number; currency: string | null; }
amount
Section titled “amount”amount:
number
Format: int64
Description
Section titled “Description”The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
Example
Section titled “Example”700currency
Section titled “currency”currency:
string|null
Description
Section titled “Description”The type of currency, in ISO 4217 format.
Default
Section titled “Default”USDExample
Section titled “Example”USDnull
ExpandableExpense.budget_id?
Section titled “ExpandableExpense.budget_id?”
optionalbudget_id?:string|null
ExpandableExpense.category?
Section titled “ExpandableExpense.category?”
optionalcategory?:"GROCERY"|"TELEPHONY"|"OFFICE_SUPPLIES"|"PRIVATE_AIR_TRAVEL"|"CLOTHING"|"CAR_RENTAL"|"VEHICLE_EXPENSES"|"RESTAURANTS"|"GAMBLING"|"FLOWERS"|"ELECTRONICS"|"LEGAL_SERVICES"|"UTILITIES"|"FURNITURE"|"LAUNDRY"|"EVENT_EXPENSES"|"SHIPPING"|"OTHER_TRAVEL_EXPENSES"|"CHARITY"|"LODGING"|"FACILITIES_EXPENSES"|"SERVERS"|"CONFERENCES"|"FOOD_DELIVERY"|"RENT"|"AIRLINE_EXPENSES"|"OTHER_BUSINESS_EXPENSES"|"CORPORATE_INSURANCE"|"DIGITAL_GOODS"|"GENERAL_MERCHANDISE"|"MEDICAL"|"PARKING_EXPENSES"|"POLITICAL_DONATIONS"|"PUBLIC_TRANSPORTATION"|"ADVERTISING_AND_MARKETING"|"BARS_AND_NIGHTLIFE"|"SOFTWARE_NON_RECURRING"|"BANK_AND_FINANCIAL_FEES"|"BOOKS_AND_NEWSPAPERS"|"CONSULTANT_AND_CONTRACTOR"|"FEES_AND_LICENSES_AND_TAXES"|"GAS_AND_FUEL"|"MEMBERSHIPS_AND_CLUBS"|"RECURRING_SOFTWARE_AND_SAAS"|"RIDESHARE_AND_TAXI"|"TOLL_AND_BRIDGE_FEES"|"TRAINING_AND_EDUCATION"|"TRAVEL_WIFI"|null
ExpandableExpense.completion_date?
Section titled “ExpandableExpense.completion_date?”
optionalcompletion_date?:string|null
Format: date-time
Description
Section titled “Description”The time payment will be completed/is completed.
ExpandableExpense.custom_fields?
Section titled “ExpandableExpense.custom_fields?”
optionalcustom_fields?:object[] |null
Description
Section titled “Description”A list of custom field values associated with the expense.
ExpandableExpense.dashboard_url
Section titled “ExpandableExpense.dashboard_url”dashboard_url:
string
Description
Section titled “Description”URL to view the expense in the Brex dashboard.
ExpandableExpense.department?
Section titled “ExpandableExpense.department?”
optionaldepartment?: {id:string;name:string; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ id: string; name: string; }
id:
string
Description
Section titled “Description”The unique identifier for the department.
name:
string
Description
Section titled “Description”The name of the department.
null
ExpandableExpense.department_id?
Section titled “ExpandableExpense.department_id?”
optionaldepartment_id?:string|null
ExpandableExpense.expense_line_items?
Section titled “ExpandableExpense.expense_line_items?”
optionalexpense_line_items?: { address?: { city?: string | null | undefined; coordinates?: { latitude: number; longitude: number; } | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | … 1 more … | undefined; postal_code?: string | … 1 more … | undefined; state?: string | … 1 mor…[] |null
Description
Section titled “Description”The expense line items. Limited to 100 items.
ExpandableExpense.expense_type?
Section titled “ExpandableExpense.expense_type?”
optionalexpense_type?:"CARD"|"REIMBURSEMENT"|"BILLPAY"|"CLAWBACK"|"UNSET"|null
ExpandableExpense.exported_at?
Section titled “ExpandableExpense.exported_at?”
optionalexported_at?:string|null
Format: date-time
Description
Section titled “Description”Timestamp when the expense was exported to the accounting system.
ExpandableExpense.id
Section titled “ExpandableExpense.id”id:
string
Description
Section titled “Description”Unique ID associated with the expense.
ExpandableExpense.integration_billing_entity_id?
Section titled “ExpandableExpense.integration_billing_entity_id?”
optionalintegration_billing_entity_id?:string|null
Description
Section titled “Description”ID of the billing entity in accounting.
ExpandableExpense.integration_spending_entity_id?
Section titled “ExpandableExpense.integration_spending_entity_id?”
optionalintegration_spending_entity_id?:string|null
Description
Section titled “Description”ID of the spending entity in accounting.
ExpandableExpense.location?
Section titled “ExpandableExpense.location?”
optionallocation?: {id:string;name:string; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ id: string; name: string; }
id:
string
Description
Section titled “Description”The unique identifier for the location.
name:
string
Description
Section titled “Description”The name of the location.
null
ExpandableExpense.location_id?
Section titled “ExpandableExpense.location_id?”
optionallocation_id?:string|null
ExpandableExpense.memo?
Section titled “ExpandableExpense.memo?”
optionalmemo?:string|null
Description
Section titled “Description”The memo of the expense.
ExpandableExpense.merchant?
Section titled “ExpandableExpense.merchant?”
optionalmerchant?: {country:string;mcc:string;raw_descriptor:string; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ country: string; mcc: string; raw_descriptor: string; }
country
Section titled “country”country:
string
Description
Section titled “Description”Merchant’s country, in ISO 3166-1 alpha-3 format.
mcc:
string
Description
Section titled “Description”A four-digit number listed in ISO 18245 for retail financial services, e.g. 4121 for Taxicabs and Rideshares. Please refer to https://en.wikipedia.org/wiki/Merchant_category_code for more details.
raw_descriptor
Section titled “raw_descriptor”raw_descriptor:
string
Description
Section titled “Description”Merchant descriptor, it can be the merchant name.
null
ExpandableExpense.merchant_id?
Section titled “ExpandableExpense.merchant_id?”
optionalmerchant_id?:string|null
ExpandableExpense.original_amount?
Section titled “ExpandableExpense.original_amount?”
optionaloriginal_amount?: {amount:number;currency:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ amount: number; currency: string | null; }
amount
Section titled “amount”amount:
number
Format: int64
Description
Section titled “Description”The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
Example
Section titled “Example”700currency
Section titled “currency”currency:
string|null
Description
Section titled “Description”The type of currency, in ISO 4217 format.
Default
Section titled “Default”USDExample
Section titled “Example”USDnull
ExpandableExpense.payment?
Section titled “ExpandableExpense.payment?”
optionalpayment?: {id:string;paymentInstrument:Omit<object&object&object,"type">;statusReason:"APPROVED"|"OTHER"|"EXCEEDED_BUDGET_LIMIT"|"BUDGET_EXPIRED"|"NO_BUDGET"|"BUDGET_NOT_YET_STARTED"|"BUDGET_CATEGORY_RESTRICTION"|"BUDGET_MERCHANT_RESTRICTION"|"SUSPECTED_FRAUD"|"EXCEEDED_GLOBAL_LIMIT"|"EXCEEDED_USER_LIMIT"|"EXCEEDED_CARD_LIMIT"|"INVALID_EXPIRATION_DATE"|"CARD_NOT_ACTIVE"|"INVALID_CARD_CREDENTIALS"|"INVALID_BILLING_ADDRESS"|"CARD_SUSPENDED"|"CARD_TERMINATED"|"CARD_EXPIRED"|"MCC_BLOCKED"|"USER_SUSPENDED"|"INVALID_PIN"|"INVALID_CVV"|"EXCEEDED_PIN_ATTEMPTS"|"INSIDE_SANCTIONED_COUNTRY"|"SOFT_EXPIRATION"|"TRANSFERRED_CARD_NEW_MERCHANT"|"EXCEEDED_ANCESTOR_BUDGET_LIMIT"|"EXCEEDED_BUDGET_TRANSACTION_LIMIT"|"TOS_BLOCKED"|"COMPLIANCE_BLOCKED"; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ id: string; paymentInstrument: Omit<object & object & object, "type">; statusReason: "APPROVED" | "OTHER" | "EXCEEDED_BUDGET_LIMIT" | "BUDGET_EXPIRED" | "NO_BUDGET" | "BUDGET_NOT_YET_STARTED" | "BUDGET_CATEGORY_RESTRICTION" | "BUDGET_MERCHANT_RESTRICTION" | "SUSPECTED_FRAUD" | "EXCEEDED_GLOBAL_LIMIT" | "EXCEEDED_USER_LIMIT" | "EXCEEDED_CARD_LIMIT" | "INVALID_EXPIRATION_DATE" | "CARD_NOT_ACTIVE" | "INVALID_CARD_CREDENTIALS" | "INVALID_BILLING_ADDRESS" | "CARD_SUSPENDED" | "CARD_TERMINATED" | "CARD_EXPIRED" | "MCC_BLOCKED" | "USER_SUSPENDED" | "INVALID_PIN" | "INVALID_CVV" | "EXCEEDED_PIN_ATTEMPTS" | "INSIDE_SANCTIONED_COUNTRY" | "SOFT_EXPIRATION" | "TRANSFERRED_CARD_NEW_MERCHANT" | "EXCEEDED_ANCESTOR_BUDGET_LIMIT" | "EXCEEDED_BUDGET_TRANSACTION_LIMIT" | "TOS_BLOCKED" | "COMPLIANCE_BLOCKED"; }
id:
string
Description
Section titled “Description”Unique ID for the payment.
paymentInstrument
Section titled “paymentInstrument”paymentInstrument:
Omit<object&object&object,"type">
statusReason
Section titled “statusReason”statusReason:
"APPROVED"|"OTHER"|"EXCEEDED_BUDGET_LIMIT"|"BUDGET_EXPIRED"|"NO_BUDGET"|"BUDGET_NOT_YET_STARTED"|"BUDGET_CATEGORY_RESTRICTION"|"BUDGET_MERCHANT_RESTRICTION"|"SUSPECTED_FRAUD"|"EXCEEDED_GLOBAL_LIMIT"|"EXCEEDED_USER_LIMIT"|"EXCEEDED_CARD_LIMIT"|"INVALID_EXPIRATION_DATE"|"CARD_NOT_ACTIVE"|"INVALID_CARD_CREDENTIALS"|"INVALID_BILLING_ADDRESS"|"CARD_SUSPENDED"|"CARD_TERMINATED"|"CARD_EXPIRED"|"MCC_BLOCKED"|"USER_SUSPENDED"|"INVALID_PIN"|"INVALID_CVV"|"EXCEEDED_PIN_ATTEMPTS"|"INSIDE_SANCTIONED_COUNTRY"|"SOFT_EXPIRATION"|"TRANSFERRED_CARD_NEW_MERCHANT"|"EXCEEDED_ANCESTOR_BUDGET_LIMIT"|"EXCEEDED_BUDGET_TRANSACTION_LIMIT"|"TOS_BLOCKED"|"COMPLIANCE_BLOCKED"
null
ExpandableExpense.payment_posted_at?
Section titled “ExpandableExpense.payment_posted_at?”
optionalpayment_posted_at?:string|null
Format: date-time
ExpandableExpense.payment_status?
Section titled “ExpandableExpense.payment_status?”
optionalpayment_status?:"NOT_STARTED"|"PROCESSING"|"CANCELED"|"DECLINED"|"CLEARED"|"REFUNDING"|"REFUNDED"|"CASH_ADVANCE"|"CREDITED"|"AWAITING_PAYMENT"|"SCHEDULED"|null
ExpandableExpense.policy?
Section titled “ExpandableExpense.policy?”
optionalpolicy?: {id:string;name:string; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ id: string; name: string; }
id:
string
Description
Section titled “Description”The unique identifier for the policy.
name:
string
Description
Section titled “Description”The display name of the policy.
null
ExpandableExpense.purchased_amount?
Section titled “ExpandableExpense.purchased_amount?”
optionalpurchased_amount?: {amount:number;currency:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ amount: number; currency: string | null; }
amount
Section titled “amount”amount:
number
Format: int64
Description
Section titled “Description”The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
Example
Section titled “Example”700currency
Section titled “currency”currency:
string|null
Description
Section titled “Description”The type of currency, in ISO 4217 format.
Default
Section titled “Default”USDExample
Section titled “Example”USDnull
ExpandableExpense.purchased_at?
Section titled “ExpandableExpense.purchased_at?”
optionalpurchased_at?:string|null
Format: date-time
Description
Section titled “Description”The time the purchase was made.
ExpandableExpense.receipts?
Section titled “ExpandableExpense.receipts?”
optionalreceipts?:object[] |null
Description
Section titled “Description”A list of receipts associated with the expense.
ExpandableExpense.repayment?
Section titled “ExpandableExpense.repayment?”
optionalrepayment?: {repayment_initiated_by?: {department_id?:string|null;first_name:string;id:string;last_name:string;location_id?:string|null; } |null;repayment_initiation_date?:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ repayment_initiated_by?: { department_id?: string | null; first_name: string; id: string; last_name: string; location_id?: string | null; } | null; repayment_initiation_date?: string | null; }
repayment_initiated_by?
Section titled “repayment_initiated_by?”
optionalrepayment_initiated_by?: {department_id?:string|null;first_name:string;id:string;last_name:string;location_id?:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ department_id?: string | null; first_name: string; id: string; last_name: string; location_id?: string | null; }
department_id?
Section titled “department_id?”
optionaldepartment_id?:string|null
first_name
Section titled “first_name”first_name:
string
Description
Section titled “Description”First name of the User.
id:
string
Description
Section titled “Description”Unique ID for the User.
last_name
Section titled “last_name”last_name:
string
Description
Section titled “Description”Last name of the User.
location_id?
Section titled “location_id?”
optionallocation_id?:string|null
null
repayment_initiation_date?
Section titled “repayment_initiation_date?”
optionalrepayment_initiation_date?:string|null
Format: date-time
null
ExpandableExpense.review?
Section titled “ExpandableExpense.review?”
optionalreview?: {approval_steps:object[] |null;compliance_status:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ approval_steps: object[] | null; compliance_status: string | null; }
approval_steps
Section titled “approval_steps”approval_steps:
object[] |null
Description
Section titled “Description”Information for each approval step of the expense
compliance_status
Section titled “compliance_status”compliance_status:
string|null
Description
Section titled “Description”Compliance status of the expense
null
ExpandableExpense.spending_entity?
Section titled “ExpandableExpense.spending_entity?”
optionalspending_entity?: {billing_address: {city?:string|null;country?:string|null;line1?:string|null;line2?:string|null;phone_number?:string|null;postal_code?:string|null;state?:string|null; };created_at:string;display_name:string;id:string;is_default?:boolean;status:"UNSUBMITTED"|"UNVERIFIED"|"IN_PROGRESS"|"VERIFIED"|"REJECTED"; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ billing_address: { city?: string | null; country?: string | null; line1?: string | null; line2?: string | null; phone_number?: string | null; postal_code?: string | null; state?: string | null; }; created_at: string; display_name: string; id: string; is_default?: boolean; status: "UNSUBMITTED" | "UNVERIFIED" | "IN_PROGRESS" | "VERIFIED" | "REJECTED"; }
billing_address
Section titled “billing_address”billing_address:
object
billing_address.city?
Section titled “billing_address.city?”
optionalcity?:string|null
Description
Section titled “Description”City, district, suburb, town, or village.
billing_address.country?
Section titled “billing_address.country?”
optionalcountry?:string|null
Description
Section titled “Description”Two-letter country code (ISO 3166-1 alpha-2).
billing_address.line1?
Section titled “billing_address.line1?”
optionalline1?:string|null
Description
Section titled “Description”Address line 1, no PO Box.
billing_address.line2?
Section titled “billing_address.line2?”
optionalline2?:string|null
Description
Section titled “Description”Address line 2 (e.g., apartment, suite, unit, or building).
billing_address.phone_number?
Section titled “billing_address.phone_number?”
optionalphone_number?:string|null
Description
Section titled “Description”Phone number.
billing_address.postal_code?
Section titled “billing_address.postal_code?”
optionalpostal_code?:string|null
Description
Section titled “Description”ZIP or postal code.
billing_address.state?
Section titled “billing_address.state?”
optionalstate?:string|null
Description
Section titled “Description”For US-addressed the 2-letter State abbreviation. For international-addresses the county, providence, or region.
created_at
Section titled “created_at”created_at:
string
Format: date-time
Description
Section titled “Description”Timestamp, in UTC, when this legal entity was created.
display_name
Section titled “display_name”display_name:
string
Description
Section titled “Description”The display name of this legal entity.
id:
string
Description
Section titled “Description”The ID of this legal entity.
is_default?
Section titled “is_default?”
optionalis_default?:boolean
Description
Section titled “Description”Whether this is the default entity of the account.
status
Section titled “status”status:
"UNSUBMITTED"|"UNVERIFIED"|"IN_PROGRESS"|"VERIFIED"|"REJECTED"
null
ExpandableExpense.spending_entity_id?
Section titled “ExpandableExpense.spending_entity_id?”
optionalspending_entity_id?:string|null
Description
Section titled “Description”The spending entity ID associated with the expense.
ExpandableExpense.status?
Section titled “ExpandableExpense.status?”
optionalstatus?:"APPROVED"|"CANCELED"|"DRAFT"|"SUBMITTED"|"OUT_OF_POLICY"|"VOID"|"SPLIT"|"SETTLED"|null
ExpandableExpense.submitted_at?
Section titled “ExpandableExpense.submitted_at?”
optionalsubmitted_at?:string|null
Format: date-time
Description
Section titled “Description”The time the expense is submitted,
ExpandableExpense.trip_id?
Section titled “ExpandableExpense.trip_id?”
optionaltrip_id?:string|null
Description
Section titled “Description”The trip ID associated with the expense if it is a trip expense.
ExpandableExpense.updated_at
Section titled “ExpandableExpense.updated_at”updated_at:
string
Format: date-time
Description
Section titled “Description”The last time the expense was updated.
ExpandableExpense.usd_equivalent_amount?
Section titled “ExpandableExpense.usd_equivalent_amount?”
optionalusd_equivalent_amount?: {amount:number;currency:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ amount: number; currency: string | null; }
amount
Section titled “amount”amount:
number
Format: int64
Description
Section titled “Description”The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
Example
Section titled “Example”700currency
Section titled “currency”currency:
string|null
Description
Section titled “Description”The type of currency, in ISO 4217 format.
Default
Section titled “Default”USDExample
Section titled “Example”USDnull
ExpandableExpense.user?
Section titled “ExpandableExpense.user?”
optionaluser?: {department_id?:string|null;first_name:string;id:string;last_name:string;location_id?:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ department_id?: string | null; first_name: string; id: string; last_name: string; location_id?: string | null; }
department_id?
Section titled “department_id?”
optionaldepartment_id?:string|null
first_name
Section titled “first_name”first_name:
string
Description
Section titled “Description”First name of the User.
id:
string
Description
Section titled “Description”Unique ID for the User.
last_name
Section titled “last_name”last_name:
string
Description
Section titled “Description”Last name of the User.
location_id?
Section titled “location_id?”
optionallocation_id?:string|null
null
ExpandableExpense.user_id?
Section titled “ExpandableExpense.user_id?”
optionaluser_id?:string|null
Expense
Section titled “Expense”Expense:
object
Expense.billing_amount?
Section titled “Expense.billing_amount?”
optionalbilling_amount?: {amount:number;currency:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ amount: number; currency: string | null; }
amount
Section titled “amount”amount:
number
Format: int64
Description
Section titled “Description”The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
Example
Section titled “Example”700currency
Section titled “currency”currency:
string|null
Description
Section titled “Description”The type of currency, in ISO 4217 format.
Default
Section titled “Default”USDExample
Section titled “Example”USDnull
Expense.budget_id?
Section titled “Expense.budget_id?”
optionalbudget_id?:string|null
Expense.category?
Section titled “Expense.category?”
optionalcategory?:"GROCERY"|"TELEPHONY"|"OFFICE_SUPPLIES"|"PRIVATE_AIR_TRAVEL"|"CLOTHING"|"CAR_RENTAL"|"VEHICLE_EXPENSES"|"RESTAURANTS"|"GAMBLING"|"FLOWERS"|"ELECTRONICS"|"LEGAL_SERVICES"|"UTILITIES"|"FURNITURE"|"LAUNDRY"|"EVENT_EXPENSES"|"SHIPPING"|"OTHER_TRAVEL_EXPENSES"|"CHARITY"|"LODGING"|"FACILITIES_EXPENSES"|"SERVERS"|"CONFERENCES"|"FOOD_DELIVERY"|"RENT"|"AIRLINE_EXPENSES"|"OTHER_BUSINESS_EXPENSES"|"CORPORATE_INSURANCE"|"DIGITAL_GOODS"|"GENERAL_MERCHANDISE"|"MEDICAL"|"PARKING_EXPENSES"|"POLITICAL_DONATIONS"|"PUBLIC_TRANSPORTATION"|"ADVERTISING_AND_MARKETING"|"BARS_AND_NIGHTLIFE"|"SOFTWARE_NON_RECURRING"|"BANK_AND_FINANCIAL_FEES"|"BOOKS_AND_NEWSPAPERS"|"CONSULTANT_AND_CONTRACTOR"|"FEES_AND_LICENSES_AND_TAXES"|"GAS_AND_FUEL"|"MEMBERSHIPS_AND_CLUBS"|"RECURRING_SOFTWARE_AND_SAAS"|"RIDESHARE_AND_TAXI"|"TOLL_AND_BRIDGE_FEES"|"TRAINING_AND_EDUCATION"|"TRAVEL_WIFI"|null
Expense.department_id?
Section titled “Expense.department_id?”
optionaldepartment_id?:string|null
Expense.id
Section titled “Expense.id”id:
string
Description
Section titled “Description”Unique ID associated with the expense.
Expense.location_id?
Section titled “Expense.location_id?”
optionallocation_id?:string|null
Expense.memo?
Section titled “Expense.memo?”
optionalmemo?:string|null
Description
Section titled “Description”The memo of the expense.
Expense.merchant_id?
Section titled “Expense.merchant_id?”
optionalmerchant_id?:string|null
Expense.original_amount?
Section titled “Expense.original_amount?”
optionaloriginal_amount?: {amount:number;currency:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ amount: number; currency: string | null; }
amount
Section titled “amount”amount:
number
Format: int64
Description
Section titled “Description”The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
Example
Section titled “Example”700currency
Section titled “currency”currency:
string|null
Description
Section titled “Description”The type of currency, in ISO 4217 format.
Default
Section titled “Default”USDExample
Section titled “Example”USDnull
Expense.payment_status?
Section titled “Expense.payment_status?”
optionalpayment_status?:"NOT_STARTED"|"PROCESSING"|"CANCELED"|"DECLINED"|"CLEARED"|"REFUNDING"|"REFUNDED"|"CASH_ADVANCE"|"CREDITED"|"AWAITING_PAYMENT"|"SCHEDULED"|null
Expense.purchased_at?
Section titled “Expense.purchased_at?”
optionalpurchased_at?:string|null
Format: date-time
Description
Section titled “Description”The time the purchase was made.
Expense.status?
Section titled “Expense.status?”
optionalstatus?:"APPROVED"|"CANCELED"|"DRAFT"|"SUBMITTED"|"OUT_OF_POLICY"|"VOID"|"SPLIT"|"SETTLED"|null
Expense.updated_at
Section titled “Expense.updated_at”updated_at:
string
Format: date-time
Description
Section titled “Description”The last time the expense was updated.
ExpensePaymentStatus
Section titled “ExpensePaymentStatus”ExpensePaymentStatus:
"NOT_STARTED"|"PROCESSING"|"CANCELED"|"DECLINED"|"CLEARED"|"REFUNDING"|"REFUNDED"|"CASH_ADVANCE"|"CREDITED"|"AWAITING_PAYMENT"|"SCHEDULED"
ExpenseStatus
Section titled “ExpenseStatus”ExpenseStatus:
"APPROVED"|"CANCELED"|"DRAFT"|"SUBMITTED"|"OUT_OF_POLICY"|"VOID"|"SPLIT"|"SETTLED"
ExpenseType
Section titled “ExpenseType”ExpenseType:
"CARD"|"REIMBURSEMENT"|"BILLPAY"|"CLAWBACK"|"UNSET"
LegalEntity
Section titled “LegalEntity”LegalEntity:
object
Legal Entity
Description
Section titled “Description”A Brex legal entity.
LegalEntity.billing_address
Section titled “LegalEntity.billing_address”billing_address:
object
LegalEntity.billing_address.city?
Section titled “LegalEntity.billing_address.city?”
optionalcity?:string|null
Description
Section titled “Description”City, district, suburb, town, or village.
LegalEntity.billing_address.country?
Section titled “LegalEntity.billing_address.country?”
optionalcountry?:string|null
Description
Section titled “Description”Two-letter country code (ISO 3166-1 alpha-2).
LegalEntity.billing_address.line1?
Section titled “LegalEntity.billing_address.line1?”
optionalline1?:string|null
Description
Section titled “Description”Address line 1, no PO Box.
LegalEntity.billing_address.line2?
Section titled “LegalEntity.billing_address.line2?”
optionalline2?:string|null
Description
Section titled “Description”Address line 2 (e.g., apartment, suite, unit, or building).
LegalEntity.billing_address.phone_number?
Section titled “LegalEntity.billing_address.phone_number?”
optionalphone_number?:string|null
Description
Section titled “Description”Phone number.
LegalEntity.billing_address.postal_code?
Section titled “LegalEntity.billing_address.postal_code?”
optionalpostal_code?:string|null
Description
Section titled “Description”ZIP or postal code.
LegalEntity.billing_address.state?
Section titled “LegalEntity.billing_address.state?”
optionalstate?:string|null
Description
Section titled “Description”For US-addressed the 2-letter State abbreviation. For international-addresses the county, providence, or region.
LegalEntity.created_at
Section titled “LegalEntity.created_at”created_at:
string
Format: date-time
Description
Section titled “Description”Timestamp, in UTC, when this legal entity was created.
LegalEntity.display_name
Section titled “LegalEntity.display_name”display_name:
string
Description
Section titled “Description”The display name of this legal entity.
LegalEntity.id
Section titled “LegalEntity.id”id:
string
Description
Section titled “Description”The ID of this legal entity.
LegalEntity.is_default?
Section titled “LegalEntity.is_default?”
optionalis_default?:boolean
Description
Section titled “Description”Whether this is the default entity of the account.
LegalEntity.status
Section titled “LegalEntity.status”status:
"UNSUBMITTED"|"UNVERIFIED"|"IN_PROGRESS"|"VERIFIED"|"REJECTED"
LegalEntityStatus
Section titled “LegalEntityStatus”LegalEntityStatus:
"UNSUBMITTED"|"UNVERIFIED"|"IN_PROGRESS"|"VERIFIED"|"REJECTED"
Description
Section titled “Description”The possible statuses for an entity’s verification in Brex.
Location
Section titled “Location”Location:
object
Description
Section titled “Description”Location
Location.city?
Section titled “Location.city?”
optionalcity?:string|null
Description
Section titled “Description”City, district, suburb, town, or village.
Location.coordinates?
Section titled “Location.coordinates?”
optionalcoordinates?: {latitude:number;longitude:number; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ latitude: number; longitude: number; }
latitude
Section titled “latitude”latitude:
number
Format: double
longitude
Section titled “longitude”longitude:
number
Format: double
null
Location.country?
Section titled “Location.country?”
optionalcountry?:string|null
Description
Section titled “Description”Two-letter country code (ISO 3166-1 alpha-2).
Location.line1?
Section titled “Location.line1?”
optionalline1?:string|null
Description
Section titled “Description”Address line 1, no PO Box.
Location.line2?
Section titled “Location.line2?”
optionalline2?:string|null
Description
Section titled “Description”Address line 2 (e.g., apartment, suite, unit, or building).
Location.postal_code?
Section titled “Location.postal_code?”
optionalpostal_code?:string|null
Description
Section titled “Description”ZIP or postal code.
Location.state?
Section titled “Location.state?”
optionalstate?:string|null
Description
Section titled “Description”For US-addressed the 2-letter State abbreviation. For international-addresses the county, providence, or region.
Location.timezone?
Section titled “Location.timezone?”
optionaltimezone?:string|null
Description
Section titled “Description”Timezone.
Location.LatLong
Section titled “Location.LatLong”Location.LatLong:
object
Description
Section titled “Description”Latitude and longitude
Location.LatLong.latitude
Section titled “Location.LatLong.latitude”latitude:
number
Format: double
Location.LatLong.longitude
Section titled “Location.LatLong.longitude”longitude:
number
Format: double
Merchant
Section titled “Merchant”Merchant:
object
Merchant.country
Section titled “Merchant.country”country:
string
Description
Section titled “Description”Merchant’s country, in ISO 3166-1 alpha-3 format.
Merchant.mcc
Section titled “Merchant.mcc”mcc:
string
Description
Section titled “Description”A four-digit number listed in ISO 18245 for retail financial services, e.g. 4121 for Taxicabs and Rideshares. Please refer to https://en.wikipedia.org/wiki/Merchant_category_code for more details.
Merchant.raw_descriptor
Section titled “Merchant.raw_descriptor”raw_descriptor:
string
Description
Section titled “Description”Merchant descriptor, it can be the merchant name.
Money:
object
Description
Section titled “Description”Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
Money.amount
Section titled “Money.amount”amount:
number
Format: int64
Description
Section titled “Description”The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
Example
Section titled “Example”700Money.currency
Section titled “Money.currency”currency:
string|null
Description
Section titled “Description”The type of currency, in ISO 4217 format.
Default
Section titled “Default”USDExample
Section titled “Example”USDMoneyListValue
Section titled “MoneyListValue”MoneyListValue:
object&object&object&object&object
Money list value
Type Declaration
Section titled “Type Declaration”
optionaldata?:object[] |null
data_type
Section titled “data_type”data_type:
"MONEY"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Money list value for a custom field
MoneyValue
Section titled “MoneyValue”MoneyValue:
object&object&object&object&object
Money value
Type Declaration
Section titled “Type Declaration”
optionaldata?: {amount:number;currency:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ amount: number; currency: string | null; }
amount
Section titled “amount”amount:
number
Format: int64
Description
Section titled “Description”The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
Example
Section titled “Example”700currency
Section titled “currency”currency:
string|null
Description
Section titled “Description”The type of currency, in ISO 4217 format.
Default
Section titled “Default”USDExample
Section titled “Example”USDnull
data_type
Section titled “data_type”data_type:
"MONEY"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Money value for a custom field
OptionString
Section titled “OptionString”OptionString:
object
Description
Section titled “Description”Option string fields have a label and a identifier.
OptionString.option_id?
Section titled “OptionString.option_id?”
optionaloption_id?:string|null
Description
Section titled “Description”The identifier when custom field data is of type option string.
OptionString.option_label?
Section titled “OptionString.option_label?”
optionaloption_label?:string|null
Description
Section titled “Description”The label when custom field data is of type option string.
OptionStringListValue
Section titled “OptionStringListValue”OptionStringListValue:
object&object&object&object&object
Option string list value
Type Declaration
Section titled “Type Declaration”
optionaldata?:object[] |null
data_type
Section titled “data_type”data_type:
"OPTION_STRING"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Option string list value for a custom field
OptionStringValue
Section titled “OptionStringValue”OptionStringValue:
object&object&object&object&object
Option string value
Type Declaration
Section titled “Type Declaration”
optionaldata?: {option_id?:string|null;option_label?:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ option_id?: string | null; option_label?: string | null; }
option_id?
Section titled “option_id?”
optionaloption_id?:string|null
Description
Section titled “Description”The identifier when custom field data is of type option string.
option_label?
Section titled “option_label?”
optionaloption_label?:string|null
Description
Section titled “Description”The label when custom field data is of type option string.
null
data_type
Section titled “data_type”data_type:
"OPTION_STRING"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Option string value for a custom field
Page_ExpandableExpense_
Section titled “Page_ExpandableExpense_”Page_ExpandableExpense_:
object
Page_ExpandableExpense_.items
Section titled “Page_ExpandableExpense_.items”items:
object[]
Page_ExpandableExpense_.next_cursor?
Section titled “Page_ExpandableExpense_.next_cursor?”
optionalnext_cursor?:string|null
Payment
Section titled “Payment”Payment:
object
Description
Section titled “Description”The payment associated with the expense.
Payment.id
Section titled “Payment.id”id:
string
Description
Section titled “Description”Unique ID for the payment.
Payment.paymentInstrument
Section titled “Payment.paymentInstrument”paymentInstrument:
Omit<object&object&object,"type">
Payment.statusReason
Section titled “Payment.statusReason”statusReason:
"APPROVED"|"OTHER"|"EXCEEDED_BUDGET_LIMIT"|"BUDGET_EXPIRED"|"NO_BUDGET"|"BUDGET_NOT_YET_STARTED"|"BUDGET_CATEGORY_RESTRICTION"|"BUDGET_MERCHANT_RESTRICTION"|"SUSPECTED_FRAUD"|"EXCEEDED_GLOBAL_LIMIT"|"EXCEEDED_USER_LIMIT"|"EXCEEDED_CARD_LIMIT"|"INVALID_EXPIRATION_DATE"|"CARD_NOT_ACTIVE"|"INVALID_CARD_CREDENTIALS"|"INVALID_BILLING_ADDRESS"|"CARD_SUSPENDED"|"CARD_TERMINATED"|"CARD_EXPIRED"|"MCC_BLOCKED"|"USER_SUSPENDED"|"INVALID_PIN"|"INVALID_CVV"|"EXCEEDED_PIN_ATTEMPTS"|"INSIDE_SANCTIONED_COUNTRY"|"SOFT_EXPIRATION"|"TRANSFERRED_CARD_NEW_MERCHANT"|"EXCEEDED_ANCESTOR_BUDGET_LIMIT"|"EXCEEDED_BUDGET_TRANSACTION_LIMIT"|"TOS_BLOCKED"|"COMPLIANCE_BLOCKED"
PaymentInstrument
Section titled “PaymentInstrument”PaymentInstrument:
object&object&object
Type Declaration
Section titled “Type Declaration”type:
"CARD"
Type Declaration
Section titled “Type Declaration”id:
string
Description
Section titled “Description”Unique ID for the card.
type:
"CARD"
Type Declaration
Section titled “Type Declaration”type:
"CARD"
Description
Section titled “Description”discriminator enum property added by openapi-typescript
PaymentInstrumentType
Section titled “PaymentInstrumentType”PaymentInstrumentType:
"CARD"
PaymentStatusReason
Section titled “PaymentStatusReason”PaymentStatusReason:
"APPROVED"|"OTHER"|"EXCEEDED_BUDGET_LIMIT"|"BUDGET_EXPIRED"|"NO_BUDGET"|"BUDGET_NOT_YET_STARTED"|"BUDGET_CATEGORY_RESTRICTION"|"BUDGET_MERCHANT_RESTRICTION"|"SUSPECTED_FRAUD"|"EXCEEDED_GLOBAL_LIMIT"|"EXCEEDED_USER_LIMIT"|"EXCEEDED_CARD_LIMIT"|"INVALID_EXPIRATION_DATE"|"CARD_NOT_ACTIVE"|"INVALID_CARD_CREDENTIALS"|"INVALID_BILLING_ADDRESS"|"CARD_SUSPENDED"|"CARD_TERMINATED"|"CARD_EXPIRED"|"MCC_BLOCKED"|"USER_SUSPENDED"|"INVALID_PIN"|"INVALID_CVV"|"EXCEEDED_PIN_ATTEMPTS"|"INSIDE_SANCTIONED_COUNTRY"|"SOFT_EXPIRATION"|"TRANSFERRED_CARD_NEW_MERCHANT"|"EXCEEDED_ANCESTOR_BUDGET_LIMIT"|"EXCEEDED_BUDGET_TRANSACTION_LIMIT"|"TOS_BLOCKED"|"COMPLIANCE_BLOCKED"
Description
Section titled “Description”The reason for the payment’s status.
Policy
Section titled “Policy”Policy:
object
Description
Section titled “Description”The policy associated with the expense.
Policy.id
Section titled “Policy.id”id:
string
Description
Section titled “Description”The unique identifier for the policy.
Policy.name
Section titled “Policy.name”name:
string
Description
Section titled “Description”The display name of the policy.
Receipt
Section titled “Receipt”Receipt:
object
Description
Section titled “Description”The receipt associated with the expense.
Receipt.download_uris?
Section titled “Receipt.download_uris?”
optionaldownload_uris?:string[] |null
Description
Section titled “Description”Presigned S3 link(s) to download file(s) of the receipt. Link(s) expire in 15 minutes.
Receipt.id
Section titled “Receipt.id”id:
string
Description
Section titled “Description”The unique identifier for the receipt.
ReceiptMatchRequest
Section titled “ReceiptMatchRequest”ReceiptMatchRequest:
object
Description
Section titled “Description”The parameter for creating a receipt match.
ReceiptMatchRequest.receipt_name
Section titled “ReceiptMatchRequest.receipt_name”receipt_name:
string
Description
Section titled “Description”The name of the receipt (with the file extension). It will be used in the matching result email.
ReceiptUploadRequest
Section titled “ReceiptUploadRequest”ReceiptUploadRequest:
object
Description
Section titled “Description”The parameter for creating a receipt upload.
ReceiptUploadRequest.receipt_name
Section titled “ReceiptUploadRequest.receipt_name”receipt_name:
string
Description
Section titled “Description”The name of the receipt (with the file extension).
Repayment
Section titled “Repayment”Repayment:
object
Repayment.repayment_initiated_by?
Section titled “Repayment.repayment_initiated_by?”
optionalrepayment_initiated_by?: {department_id?:string|null;first_name:string;id:string;last_name:string;location_id?:string|null; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ department_id?: string | null; first_name: string; id: string; last_name: string; location_id?: string | null; }
department_id?
Section titled “department_id?”
optionaldepartment_id?:string|null
first_name
Section titled “first_name”first_name:
string
Description
Section titled “Description”First name of the User.
id:
string
Description
Section titled “Description”Unique ID for the User.
last_name
Section titled “last_name”last_name:
string
Description
Section titled “Description”Last name of the User.
location_id?
Section titled “location_id?”
optionallocation_id?:string|null
null
Repayment.repayment_initiation_date?
Section titled “Repayment.repayment_initiation_date?”
optionalrepayment_initiation_date?:string|null
Format: date-time
Review
Section titled “Review”Review:
object
Review.approval_steps
Section titled “Review.approval_steps”approval_steps:
object[] |null
Description
Section titled “Description”Information for each approval step of the expense
Review.compliance_status
Section titled “Review.compliance_status”compliance_status:
string|null
Description
Section titled “Description”Compliance status of the expense
StringListValue
Section titled “StringListValue”StringListValue:
object&object&object&object&object
String list value
Type Declaration
Section titled “Type Declaration”
optionaldata?:string[] |null
data_type
Section titled “data_type”data_type:
"STRING"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”String list value for a custom field
StringValue
Section titled “StringValue”StringValue:
object&object&object&object&object
String value
Type Declaration
Section titled “Type Declaration”
optionaldata?:string|null
Description
Section titled “Description”The data of the custom field.
data_type
Section titled “data_type”data_type:
"STRING"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”String value for a custom field
TimestampListValue
Section titled “TimestampListValue”TimestampListValue:
object&object&object&object&object
Timestamp list value
Type Declaration
Section titled “Type Declaration”
optionaldata?:string[] |null
data_type
Section titled “data_type”data_type:
"TIMESTAMP"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Timestamp list value for a custom field
TimestampValue
Section titled “TimestampValue”TimestampValue:
object&object&object&object&object
Timestamp value
Type Declaration
Section titled “Type Declaration”
optionaldata?:string|null
Format: date-time
Description
Section titled “Description”The data of the custom field.
data_type
Section titled “data_type”data_type:
"TIMESTAMP"
Description
Section titled “Description”The type of the custom field data.
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”value_type
Section titled “value_type”value_type:
"SINGLE_VALUE"|"LIST"
Type Declaration
Section titled “Type Declaration”data_type
Section titled “data_type”data_type:
"BOOLEAN"|"STRING"|"DECIMAL"|"ENUM"|"TIMESTAMP"|"DATE"|"MONEY"|"OPTION_STRING"
Description
Section titled “Description”Timestamp value for a custom field
UpdateExpenseRequest
Section titled “UpdateExpenseRequest”UpdateExpenseRequest:
object
Description
Section titled “Description”The parameter for updating an expense.
UpdateExpenseRequest.memo?
Section titled “UpdateExpenseRequest.memo?”
optionalmemo?:string|null
Description
Section titled “Description”Expense memo.
User:
object
User.department_id?
Section titled “User.department_id?”
optionaldepartment_id?:string|null
User.first_name
Section titled “User.first_name”first_name:
string
Description
Section titled “Description”First name of the User.
User.id
Section titled “User.id”id:
string
Description
Section titled “Description”Unique ID for the User.
User.last_name
Section titled “User.last_name”last_name:
string
Description
Section titled “Description”Last name of the User.
User.location_id?
Section titled “User.location_id?”
optionallocation_id?:string|null