Skip to Content
@get-asset/reactComponents

Statement Reconciliation

Statement verified reconciliation for one account, as a card.

Statement verified reconciliation for one account, as a card. The account screen says how the books stand against the bank, lists the completed months with the next step for each (Upload, Reconcile, or the record), and has a Checks tab (AccountChecks) for the checks written on the account. A month walks through the statement upload (or manual entry) beside the document, the check that it adds up, the review against the books with a suggested correction for every difference, and Mark as reconciled, followed by a brief confirmation. Corrections reach the books only when the month is approved, and leaving a review with corrections pending asks first. The accounts card shows this for each account of a business reconciled by statement verification.

Built on the headless StatementReconciliation compound from @get-asset/sdk.

Preview

Loading preview…

Usage

import { AssetProvider, AssetStatementReconciliation } from "@get-asset/react";

<AssetProvider businessId={businessId} accessToken={() => fetchToken(businessId)}>
  <AssetStatementReconciliation accountId={accountId} />
</AssetProvider>

Required scopes

The access token used by AssetProvider must include these scopes for this component to fetch data successfully:

  • reconciliation:read
  • reconciliation:write
  • document:create
  • document:read

API reference

Root props

PropTypeRequiredDefaultDescription
classNamestringNo
currencystring | nullNoThe account's currency, for every figure. Defaults to US dollars.
accountIdstringYesThe external account being reconciled.
monthstring | nullNoThe open month (YYYY-MM), or null for the month list. Controlled when given.
defaultMonthstring | nullNoThe month to open on when uncontrolled.
onMonthChange(month: string | null) => voidNoNotified when a month is opened or closed.
onApproved(confirmation: ApprovalConfirmation) => voidNoNotified after a month is approved.
confirmationDurationnumberNoHow long the approval confirmation shows before the months come back, in milliseconds. 0 keeps it until dismissed. Defaults to four seconds.
maxFileSizenumberNoPer-file size ceiling for statement uploads. Defaults to 25 MB.
state"loading" | "error" | "empty"NoForce a state for testing/storybook.
accountAccountPeriodsNoOverride the fetched months (skips the API) — storybook/tests.
periodPeriodDetailNoOverride the fetched month detail (skips the API) — storybook/tests.
comparisonComparisonPublicNoOverride the fetched comparison (skips the API) — storybook/tests.
confirmationApprovalConfirmationNoOpen on an approval's confirmation, as just after approving — storybook/tests.
correctionsStatementCorrection[]NoCorrections already accepted in the review — storybook/tests.
documentDocumentPublicNoOverride the uploaded statement's document (skips the API) — storybook/tests.
previewUrlstringNoOverride the uploaded statement's preview URL (skips the API) — storybook/tests.
nownumberNoFix the current time, for relative days such as "uploaded today" — storybook/tests.
checksCheckPublic[]NoOverride the fetched checks (skips the API) — storybook/tests.
checksToMatchstring[]NoWith checks: the ids of those with a bank payment to match.

On this page