Companies and dates
Accounting period
AccountingPeriodSelect
Closed year / month / VAT-term period picker.
The person sees
Period
January 2026
February 2026
March 2026
April 2026
May 2026
June 2026
July 2026
August 2026
September 2026
October 2026
November 2026
December 2026
booki_version=$(npm view @booki-aui/react@latest version) &&
ui_sdk_version=$(npm view "@booki-aui/react@$booki_version" peerDependencies.@ui-sdk/core) &&
pnpm add --save-exact "@booki-aui/core@$booki_version" "@booki-aui/react@$booki_version" "@booki-aui/styles@$booki_version" \
"@ui-sdk/core@$ui_sdk_version" "@ui-sdk/react@$ui_sdk_version"Try the bridge
Open this page in a browser and run the example in the console with a fresh preview. Read the current ref from the snapshot before acting.
const { agent } = window
const entry = agent.snapshot().filter(
(entry) => !entry.offPage && entry.component === "accounting-period",
)[0]
const result = await agent.act({
steps: [{
ref: entry.ref,
action: "setPeriod",
args: [entry.items.at(-2).value],
}],
})
console.log(result.ok) // trueThe selected value becomes the second-to-last ID in the advertised options.
Import from @booki-aui/react. For Booki's default styling, add import "@booki-aui/styles".