FinBaze for Platforms

Components

Kind: view (fills its container) · Session key: us1120 · React: <FinBazeUs1120 />

Create the session#

mutation {
  createEmbedSession(input: {
    companyId: "…"
    user: { externalUserId: "…" }
    components: { us1120: { enabled: true } }
  }) { clientSecret }
}

Requirements#

The company must have these features effective: tax_filings, us_federal_tax. A hidden feature makes createEmbedSession fail with FEATURE_DISABLED.

Component features#

Switch these off per session with components.us1120.features.

FeatureDefault
prepareon
exporton

Options#

Passed to instance.create("us-1120", options) or as props.

OptionType
filingIdstringOpen this filing instead of the list of tax years.

Every component also takes appearance and navigation ("internal" or "external").

Events#

EventReact prop
readyonReady
navigateonNavigate
erroronError
filing.preparedonFilingPrepared

Use it#

import { FinBazeUs1120 } from "@finbaze/embed-react";

<FinBazeUs1120 />
const component = instance.create("us-1120");
component.mount("#finbaze");