FinBaze for Platforms

Components

Kind: view (fills its container) · Session key: citReturn · React: <FinBazeCitReturn />

Create the session#

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

Requirements#

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

Component features#

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

FeatureDefault
submiton
inlineConsenton

Options#

Only the common options: appearance and navigation ("internal" or "external").

Events#

EventReact prop
readyonReady
navigateonNavigate
erroronError
filing.submittedonFilingSubmitted
tax_authorisation.grantedonTaxAuthorisationGranted

Use it#

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

<FinBazeCitReturn />
const component = instance.create("cit-return");
component.mount("#finbaze");