Skip to main content

CreateExpenseInput

Provides the fields and values to use when creating a expense.

input CreateExpenseInput {
number: String
companyId: ID
personId: ID
effectiveAt: Date
dueAt: Date
currency: CurrencyCode!
discount: Decimal
notes: String
lines: CreateExpenseLinesInput
properties: RelatedPropertiesInput
tasks: RelatedTasksInput
letters: RelatedLettersInput
contracts: RelatedContractsInput
projects: RelatedProjectsInput
copyRelations: CopyRelationsInput
}

Fields

CreateExpenseInput.number ● String scalar

The expense's number.

CreateExpenseInput.companyId ● ID scalar

The expense's company.

CreateExpenseInput.personId ● ID scalar

The expense's client related person.

CreateExpenseInput.effectiveAt ● Date scalar

Effective date of the expense.

CreateExpenseInput.dueAt ● Date scalar

Due date of the expense.

CreateExpenseInput.currency ● CurrencyCode! non-null enum

The expense's currency.

CreateExpenseInput.discount ● Decimal scalar

The expense's discount percentage.

CreateExpenseInput.notes ● String scalar

The expense's notes.

CreateExpenseInput.lines ● CreateExpenseLinesInput input

The expense's lines.

CreateExpenseInput.properties ● RelatedPropertiesInput input

The expense's properties relation.

CreateExpenseInput.tasks ● RelatedTasksInput input

The expense's tasks relation.

CreateExpenseInput.letters ● RelatedLettersInput input

The expense's letters relation.

CreateExpenseInput.contracts ● RelatedContractsInput input

The expense's contracts relation.

CreateExpenseInput.projects ● RelatedProjectsInput input

The expense's projects relation.

CreateExpenseInput.copyRelations ● CopyRelationsInput input

The relations that should be copied from another entity.

Member Of

createExpense mutation