Skip to main content

Account

Represents information about an account.

type Account {
id: ID!
name: String
companyName: String
regNumber: String!
vatNumber: String!
currency: CurrencyCode
pdfLogo: String
address: AccountAddress
modules: [Module!]
setting(
name: String!
): Setting
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
}

Fields​

Account.id ● ID! non-null scalar​

Account's unique identifier.

Account.name ● String scalar​

The account's name.

Account.companyName ● String scalar​

The account's company name.

Account.regNumber ● String! non-null scalar​

The account's registration number.

Account.vatNumber ● String! non-null scalar​

The account's VAT number.

Account.currency ● CurrencyCode enum​

The account's currency.

The account's logo used on printout templates.

Account.address ● AccountAddress object​

The account's address details.

Account.modules ● [Module!] list object​

The account's modules.

Account.setting ● Setting object​

The account's setting.

Account.setting.name ● String! non-null scalar​

Account.createdAt ● DateTimeTz! non-null scalar​

The date and time when the account was created.

Account.updatedAt ● DateTimeTz! non-null scalar​

The date and time when the account was last updated.

Account.deletedAt ● DateTimeTz scalar​

The date and time when the account was deleted.

Returned By​

updateAccountAddress mutation

Member Of​

User object