Skip to main content

DocumentType

A document type — the kind classifier for a Document (e.g. invoice, credit note, delivery note).

type DocumentType implements Node {
id: ID!
name: String
technicalName: String!
documents(
first: Int = 10
after: String
filter: DocumentFilterInput
): DocumentConnection
}

Fields

DocumentType.id ● ID! non-null scalar

Global identifier for this entity.

DocumentType.name ● String scalar

Localised display name (e.g. Invoice, Credit note).

DocumentType.technicalName ● String! non-null scalar

Stable machine-readable identifier (e.g. invoice, credit_note). Safe to switch on in client code.

DocumentType.documents ● DocumentConnection object

DocumentType.documents.first ● Int scalar
DocumentType.documents.after ● String scalar
DocumentType.documents.filter ● DocumentFilterInput input

Interfaces

Node interface

Any entity that can be loaded by its global id through the node(id: ID!) query.

Returned By

documentType query

Member Of

Document object ● DocumentTypeEdge object