UpdateExpenseInput
Provides the fields and values to use when updating a expense.
input UpdateExpenseInput {
id: ID!
number: String
companyId: ID
personId: ID
effectiveAt: Date
dueAt: Date
currency: CurrencyCode
discount: Decimal
notes: String
lines: UpdateExpenseLinesInput
properties: RelatedPropertiesInput
tasks: RelatedTasksInput
letters: RelatedLettersInput
contracts: RelatedContractsInput
projects: RelatedProjectsInput
}
Fields
UpdateExpenseInput.id
● ID!
non-null scalar
Specifies the expense to update.
UpdateExpenseInput.number
● String
scalar
The expense's number.
UpdateExpenseInput.companyId
● ID
scalar
The expense's company.
UpdateExpenseInput.personId
● ID
scalar
The expense's client related person.
UpdateExpenseInput.effectiveAt
● Date
scalar
Effective date of the expense.
UpdateExpenseInput.dueAt
● Date
scalar
Due date of the expense.
UpdateExpenseInput.currency
● CurrencyCode
enum
The expense's currency.
UpdateExpenseInput.discount
● Decimal
scalar
The expense's discount percentage.
UpdateExpenseInput.notes
● String
scalar
The expense's notes.
UpdateExpenseInput.lines
● UpdateExpenseLinesInput
input
The expense's lines.
UpdateExpenseInput.properties
● RelatedPropertiesInput
input
The expense's properties relation.
UpdateExpenseInput.tasks
● RelatedTasksInput
input
The expense's tasks relation.
UpdateExpenseInput.letters
● RelatedLettersInput
input
The expense's letters relation.
UpdateExpenseInput.contracts
● RelatedContractsInput
input
The expense's contracts relation.
UpdateExpenseInput.projects
● RelatedProjectsInput
input
The expense's projects relation.
Member Of
updateExpense
mutation