Invoice Object

Root Connection

All Invoice objects of an account are accessible by a query on the root connection invoices. Such a query will return a InvoiceConnection!, which contains the Invoice objects in its nodes field.

invoices (InvoiceConnection!)

Root connection for retrieving Invoice records.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

filter InvoiceFilter

Filter to determine which Invoice records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

order [InvoiceOrder!]

Order of the Invoice records returned.

view InvoiceView

View name.

The default value is current_account.

Fields

The fields in this section list which values can be retrieved when querying Invoice records.

account (Account)

The account this record belongs to.

amount (MonetaryAmount)

The product of the unitPrice field value and the quantity field value.

capitalExpenditure (Boolean)

Whether the invoice amount is to be depreciated over time.

createdAt (ISO8601Timestamp)

The date and time at which the record was created.

currency (AccountCurrency)

Currency of the invoice.

description (String)

Short description of what was acquired.

id (ID!)

Unique identifier of the object.

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.

owner (HasInvoices)

Object for which the costs specified in the amount field were incurred.

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.

service (Service)

Automatically set to the service that is linked to the project.

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

supplier (Organization)

The organization from which the invoice was received.

unitPrice (MonetaryAmount)

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

updatedAt (ISO8601Timestamp)

The date and time of the last update of the record. If the record has no updates it contains the createdAt value.

Connections

The connection fields in this section allow (paged) access to objects related to a specific Invoice record. The actual objects will be in the nodes field of the connection.

remarksAttachments (AttachmentConnection)

Files and inline images linked to the Remarks field.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Implements

Invoice implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a Invoice.