Currency
A currency the organization can use.
type Currency {
code: String!
createdAt: DateTime!
decimalPlaces: Int!
decimalSeparator: String
format: String
id: ID!
isActive: Boolean!
isBaseCurrency: Boolean!
name: String!
sortOrder: Int
symbol: String!
symbolPosition: String
thousandSeparator: String
type: CurrencyType!
updatedAt: DateTime!
}
Fields
Currency.code ● String! non-null scalar
The currency code, such as an ISO 4217 code.
Currency.createdAt ● DateTime! non-null scalar
When the record was created.
Currency.decimalPlaces ● Int! non-null scalar
How many decimal places amounts show.
Currency.decimalSeparator ● String scalar
The character between the whole and decimal parts.
Currency.format ● String scalar
An example of how an amount is shown.
Currency.id ● ID! non-null scalar
The unique ID of this record.
Currency.isActive ● Boolean! non-null scalar
Whether the record is active.
Currency.isBaseCurrency ● Boolean! non-null scalar
True when this is the organization's base currency.
Currency.name ● String! non-null scalar
The name of the currency.
Currency.sortOrder ● Int scalar
The position in lists, lowest first.
Currency.symbol ● String! non-null scalar
The currency symbol.
Currency.symbolPosition ● String scalar
Where the symbol goes: before or after the amount.
Currency.thousandSeparator ● String scalar
The character between thousands.
Currency.type ● CurrencyType! non-null enum
The kind of currency: fiat, crypto or commodity.
Currency.updatedAt ● DateTime! non-null scalar
When the record was last changed.
Returned By
activateCurrency mutation ● createCurrency mutation ● currencies query ● currency query ● deactivateCurrency mutation ● forceDeactivateCurrency mutation ● setBaseCurrency mutation ● updateCurrency mutation