For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Article

FormulaFieldDefinition

Type reference for FormulaFieldDefinition in the Rippling SDK, including its public shape and related types.

Use with AI:Rippling AI ChatGPT Claude Cursor

Type-level shape produced by the formula helpers.

Type definition​

export interface FormulaFieldDefinition<TFormulaKind extends FormulaFieldKind = FormulaFieldKind, TValue = FormulaValueByKind[TFormulaKind], TSectionKey extends string | undefined = string | undefined> extends FieldDefinitionBase<TFormulaKind, TValue, false, false, TSectionKey> {
    readonly formula: string;
    readonly maxLength?: TFormulaKind extends 'formula-text' ? number : never;
}