Skip to main content

document

Loads a single Document by id.

Required scopes​

The token needs the documents:read access scope.

document(
id: ID!
): Document

Arguments​

document.id ● ID! non-null scalar​

Type​

Document object​

A generated document attached to an order (invoice, credit note, delivery note, …). Each document points at a static rendered file plus the JSON config used to render it.