Skip to content

Relationships

Schema relationships
graph LR
    VendorCredits -->|"company"| CompanyInfo

Properties

idstring
required·

The unique identifier for vendor credits

companystring

The company the vendor credit belongs to

References: CompanyInfo → id
created_atstring · date-time

This represents the date when the vendor credit was created

currencystring

The currency of the vendor credit

exchange_ratenumber

The exchange rate of the vendor credit

line_itemsobject[]

The line items of the invoice

accountstring

The ID of the account

currencystring

The currency of the line item

descriptionstring

The description of the line item

exchange_ratenumber

The exchange rate of the currency for the line item

idstring

The unique identifier for line item

itemstring

The ID of the item

namestring

The name of the line item

quantitynumber

The quantity of the line item

tax_ratestring

The ID of the tax rate

total_line_amountnumber

The total line amount of the line item.

tracking_categoriesobject[]

Tracking categories of the line item

3 properties
idstring

The ID of the tracking category

namestring

The name of the tracking category

optionstring

The option of the tracking category

typestring

The type of the line item

unit_pricenumber

The unit price of the line item

numberstring

The number of the vendor credit

remote_dataRecord<string, any>

Raw data returned from the remote API call.

total_amountnumber

The total amount of the vendor credit

transaction_datestring · date-time

The transaction date of the vendor credit

updated_atstring · date-time

This represents the date when the vendor credit was updated

vendorstring

The vendor that owes the refund