Skip to content

Relationships

Schema relationships
graph LR
    Expenses -->|"contact"| Contacts
    Expenses -->|"company"| CompanyInfo

Properties

idstring
required·

The unique identifier for expenses

companystring

The company of the expense

References: CompanyInfo → id
contactstring

The contact of the expense

References: Contacts → id
created_atstring · date-time

This represents the date when the expense was created

currencystring

The currency of the expense

exchange_ratenumber

The exchange rate of the expense

line_itemsobject[]

The line items of the expense

accountstring

The account of the line item

descriptionstring

The description of the line item

idstring

The unique identifier for line items

namestring

The name of the line item

quantitynumber

The quantity of the line item

tax_ratestring

The tax rate of the line item

total_line_amountnumber

The total line amount of the line item

typestring

The type of the line item

unit_pricenumber

The unit price of the line item

memostring

The memo of the expense

remote_dataRecord<string, any>

Raw data returned from the remote API call.

total_amountnumber

The total amount of the expense

transaction_datestring · date-time

The transaction date of the expense

updated_atstring · date-time

This represents the date when the expense was updated