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:readreconciliation:writedocument:createdocument:read
API reference
Root props
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
className | string | No | ||
currency | string | null | No | The account's currency, for every figure. Defaults to US dollars. | |
accountId | string | Yes | The external account being reconciled. | |
month | string | null | No | The open month (YYYY-MM), or null for the month list. Controlled when given. | |
defaultMonth | string | null | No | The month to open on when uncontrolled. | |
onMonthChange | (month: string | null) => void | No | Notified when a month is opened or closed. | |
onApproved | (confirmation: ApprovalConfirmation) => void | No | Notified after a month is approved. | |
confirmationDuration | number | No | How long the approval confirmation shows before the months come back, in milliseconds. 0 keeps it until dismissed. Defaults to four seconds. | |
maxFileSize | number | No | Per-file size ceiling for statement uploads. Defaults to 25 MB. | |
state | "loading" | "error" | "empty" | No | Force a state for testing/storybook. | |
account | AccountPeriods | No | Override the fetched months (skips the API) — storybook/tests. | |
period | PeriodDetail | No | Override the fetched month detail (skips the API) — storybook/tests. | |
comparison | ComparisonPublic | No | Override the fetched comparison (skips the API) — storybook/tests. | |
confirmation | ApprovalConfirmation | No | Open on an approval's confirmation, as just after approving — storybook/tests. | |
corrections | StatementCorrection[] | No | Corrections already accepted in the review — storybook/tests. | |
document | DocumentPublic | No | Override the uploaded statement's document (skips the API) — storybook/tests. | |
previewUrl | string | No | Override the uploaded statement's preview URL (skips the API) — storybook/tests. | |
now | number | No | Fix the current time, for relative days such as "uploaded today" — storybook/tests. | |
checks | CheckPublic[] | No | Override the fetched checks (skips the API) — storybook/tests. | |
checksToMatch | string[] | No | With checks: the ids of those with a bank payment to match. |