Skip to main content@smokeballdev/smokeball-client-sdk
Interface: Expense
The expense entity from Smokeball.
Properties
activityCode
activityCode: string
Activity code for the expense
description?
optional description: string
Detailed description of the expense
expenseDate
expenseDate: string
Date of the expense
finalized
finalized: boolean
Whether expense is finalized
id: string
Expense id
invoiceId
invoiceId: string
Associated invoice ID
isBillable
isBillable: boolean
Whether expense is billable
isInvoicedExternally
isInvoicedExternally: boolean
Whether expense is invoiced externally
isWrittenOff
isWrittenOff: boolean
Whether expense is written off
origin
origin: string
Where the expense originated from
outputTax?
optional outputTax: number
Output tax amount in dollars
price
price: number
Price of the expense in dollars
quantity
quantity: number
Quantity of the expense in units
staffId
staffId: string
Associated staff member ID
subject
subject: string
Short description of the expense
tax?
optional tax: number
GST amount in dollars (AU only)
taxExempt
taxExempt: boolean
Whether tax is exempt
taxInclusive
taxInclusive: boolean
Whether amount is GST inclusive (AU only)
taxOutOfScope
taxOutOfScope: boolean
Whether tax is out of scope
taxZeroRated
taxZeroRated: boolean
Whether tax is zero rated
updatedByUserId
updatedByUserId: string
ID of user who last updated the expense