Skip to main content

CreateInvoiceInput

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

input CreateInvoiceInput {
clientId: ID
personId: ID
issuerId: ID
priceListId: ID!
effectiveAt: Date
dueAt: Date
currency: CurrencyCode!
discount: Decimal
notes: String
lines: CreateInvoiceLinesInput
properties: RelatedPropertiesInput
tasks: RelatedTasksInput
letters: RelatedLettersInput
contracts: RelatedContractsInput
projects: RelatedProjectsInput
copyRelations: CopyRelationsInput
}

Fields

CreateInvoiceInput.clientId ● ID scalar

The invoice's client.

CreateInvoiceInput.personId ● ID scalar

The invoice's client related person.

CreateInvoiceInput.issuerId ● ID scalar

The invoice's issuer.

CreateInvoiceInput.priceListId ● ID! non-null scalar

The invoice's price list.

CreateInvoiceInput.effectiveAt ● Date scalar

Effective date of the invoice.

CreateInvoiceInput.dueAt ● Date scalar

Due date of the invoice.

CreateInvoiceInput.currency ● CurrencyCode! non-null enum

The invoice's currency.

CreateInvoiceInput.discount ● Decimal scalar

The invoice's discount percentage.

CreateInvoiceInput.notes ● String scalar

The invoice's notes.

CreateInvoiceInput.lines ● CreateInvoiceLinesInput input

The invoice's lines.

CreateInvoiceInput.properties ● RelatedPropertiesInput input

The invoice's properties relation.

CreateInvoiceInput.tasks ● RelatedTasksInput input

The invoice's tasks relation.

CreateInvoiceInput.letters ● RelatedLettersInput input

The invoice's letters relation.

CreateInvoiceInput.contracts ● RelatedContractsInput input

The invoice's contracts relation.

CreateInvoiceInput.projects ● RelatedProjectsInput input

The invoice's projects relation.

CreateInvoiceInput.copyRelations ● CopyRelationsInput input

The relations that should be copied from another entity.

Member Of

createInvoice mutation