Skip to main content

CreateTenantExchangeRateInput

Adds one of the organization's own dated exchange rates, from a foreign currency to the base currency.

input CreateTenantExchangeRateInput {
effectiveFrom: String!
effectiveTo: String
fromCurrency: String!
note: String
rate: String!
}

Fields​

CreateTenantExchangeRateInput.effectiveFrom ● String! non-null scalar​

First calendar day the rate applies (YYYY-MM-DD), from 00:00 on the organization's clock; never before today

CreateTenantExchangeRateInput.effectiveTo ● String scalar​

Stop day (YYYY-MM-DD, exclusive): the rate stops at 00:00 of this day on the organization's clock

CreateTenantExchangeRateInput.fromCurrency ● String! non-null scalar​

ISO code of one of the org's currencies (not the base)

CreateTenantExchangeRateInput.note ● String scalar​

A note on why the rate was set.

CreateTenantExchangeRateInput.rate ● String! non-null scalar​

1 fromCurrency = rate base currency, as an exact decimal

Member Of​

createTenantExchangeRate mutation