Skip to main content

CreateCurrencyInput

A new currency.

input CreateCurrencyInput {
code: String!
decimalPlaces: Int
decimalSeparator: String
enteredBy: String
isActive: Boolean
isBaseCurrency: Boolean
name: String!
sortOrder: Int
symbol: String!
symbolPosition: String
thousandSeparator: String
type: String
updatedBy: String
}

Fields​

CreateCurrencyInput.code ● String! non-null scalar​

The currency code, such as an ISO 4217 code.

CreateCurrencyInput.decimalPlaces ● Int scalar​

How many decimal places amounts show.

CreateCurrencyInput.decimalSeparator ● String scalar​

The character between the whole and decimal parts.

CreateCurrencyInput.enteredBy ● String scalar​

The ID of the user who entered it.

CreateCurrencyInput.isActive ● Boolean scalar​

Whether the record is active.

CreateCurrencyInput.isBaseCurrency ● Boolean scalar​

True when this is the organization's base currency.

CreateCurrencyInput.name ● String! non-null scalar​

The name of the currency.

CreateCurrencyInput.sortOrder ● Int scalar​

The position in lists, lowest first.

CreateCurrencyInput.symbol ● String! non-null scalar​

The currency symbol.

CreateCurrencyInput.symbolPosition ● String scalar​

Where the symbol goes: before or after the amount.

CreateCurrencyInput.thousandSeparator ● String scalar​

The character between thousands.

CreateCurrencyInput.type ● String scalar​

The kind of currency: fiat, crypto or commodity.

CreateCurrencyInput.updatedBy ● String scalar​

The ID of the user who last changed it.

Member Of​

createCurrency mutation