invoiceUpdate Mutation

Updates an existing invoice.

Input Argument

invoiceUpdate accepts a single input argument, an input type, which contains the values it uses.

The fields inside input are:

capitalExpenditure (Boolean)

Whether the invoice amount is to be depreciated over time.

clientMutationId (String)

A unique identifier for the client performing the mutation.

description (String)

Short description of what was acquired.

id (ID!)

The node ID of the record to update.

invoiceDate (ISO8601Date)

The date on which the invoice was sent out by the supplier.

invoiceNr (String)

The invoice number that the supplier specified on the invoice.

ownerId (ID)

Identifier of the object this invoice is associated with.

poNr (String)

The number of the purchase order that was sent to supplier.

quantity (Decimal)

The number of units that were acquired.

remarks (String)

Any additional information about the contract that might prove useful.

source (String)

An identifier for the client application submitting the resource or the name of an external system

sourceID (String)

The unique identifier of the resource in an external system

supplierId (ID)

Identifier of the organization from which the invoice was received.

unitPrice (MonetaryAmount)

The amount that the supplier has charged per unit that was acquired.

Return Fields

clientMutationId (String)

A unique identifier for the client performing the mutation.

errors ([ValidationError!])

Errors encountered during the mutation.

invoice (Invoice)

Record after mutation.