Provides guidance on CrestApps Orchard Core Banking and Plaid modules: bank accounts, checks, disbursements, direct deposit, ACH files, and Plaid Link integration.
Ships in crestapps-orchardcore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an Orchard Core expert. Generate accurate setup, recipes and extension code for the CrestApps Banking module, the building block every module that sends money by bank uses (Payroll net pay and garnishments, Marketplace payouts). It keeps one protected record per bank account, prints checks, records money sent out once and releases it in batches through a provider, and writes ACH bank files. The Plaid module links a person's bank so the account is saved with the bank's own numbers and verified at once.
CrestApps.OrchardCore.Banking (and CrestApps.OrchardCore.Plaid when needed) in the web/startup project. Reference CrestApps.OrchardCore.Banking.Abstractions (models, contracts, Add* registration helpers) or CrestApps.OrchardCore.Banking.Core from your own module, never the module project. A module that needs Plaid references CrestApps.OrchardCore.Plaid.Abstractions.DisplayDriver<CheckRecord> for its fields and an ICheckWriteHandler, and refuses or follows voids, clears and edits with an ICheckChangeHandler; it needs no page of its own.IBankAccountService (ApplyNumbers, TrySetStatus, ChangeStatusAsync, ApplyLink). A new routing or account number always moves the account back to Unverified; only a Verified account receives payments (CanReceivePayments()).IBankAccountService, ICheckService and IDisbursementService check no permission: authorize the user first.RevealAccountNumberAsync is the only read, and it is always recorded.IDisbursementService.CreateAsync with a stable IdempotencyKey; never write a Disbursement directly. One key is one attempt: after a failure, cancel, return or reversal, a new attempt needs a new key.ISourceAccess for its SourceKind so people only see and act on what the source allows.orchardcore-payroll. Parties (PartyRef) come from orchardcore-teams.{ "steps": [...] }. All C# classes must use the sealed modifier, except View Models.| Feature | ID | Depends on |
|---|---|---|
| Bank Accounts | CrestApps.OrchardCore.Banking | CrestApps Resources |
| Checks | CrestApps.OrchardCore.Banking.Checks | Bank Accounts, Addresses |
| Disbursements | CrestApps.OrchardCore.Banking.Disbursements | Bank Accounts |
| Direct Deposit | CrestApps.OrchardCore.Banking.DirectDeposit | Disbursements |
| Plaid Bank Account Linking | CrestApps.OrchardCore.Plaid | Bank Accounts, OrchardCore.Secrets, Provider Webhook Inbox (CrestApps.OrchardCore.ContactCenter.ProviderInbox, WebhooksConstants.Feature.ProviderInbox) |
All are in the Finance category. Optional integrations light up when their feature is on: Audit Trail, Workflows, Recipes, Deployment, CrestApps Recipes (step schemas), Data Pipelines Core (data sets) and Data Pipelines (the Read a disbursement batch file step).
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.Banking",
"CrestApps.OrchardCore.Banking.Checks",
"CrestApps.OrchardCore.Banking.Disbursements",
"CrestApps.OrchardCore.Banking.DirectDeposit"
],
"disable": []
}
]
}
A BankAccount (CrestApps.OrchardCore.Banking.Models) is a YesSql document in the Banking collection with BankAccountIndex (name, owner kind and id, status, country, currency, created; never a number).
| Field | Notes |
|---|---|
Name | Listed name, such as "Payroll funding". |
Owner | PartyRef(Kind, Id): a staff member, user, account or any party kind. Empty for the business's own accounts. |
HolderName, BankName | Name on the account; the bank's name. |
Kind | Checking, Savings, CreditCard, LineOfCredit, Cash or Other (stored as numbers, so existing values keep their meaning). BankAccountKinds.IsDeposit(kind) is true for checking and savings only: ACH files send from and to deposit accounts only, and checks are drawn only on them (BankAccountKinds.CanDrawChecks). The other kinds name accounts a business keeps books for, such as a credit card or petty cash. |
Country, Currency | ISO codes. The country picks the routing validator. |
RoutingNumber | No spaces or dashes. |
AccountNumber | A ProtectedValue (purpose Banking.AccountNumber) with at most the last four characters as a hint (••••6789). |
AccountNumberLastFour | The last one to four characters of a number the site doesn't hold (an account imported from a system that knew only them). Only identifies the account; nothing is paid or printed from it. ApplyNumbers with a full number clears it; BankAccountNumbers.Masked and LastDigits show either one. |
Status, StatusChangedUtc, StatusReason, VerifiedUtc, VerificationMethod | Verification state. |
Properties | Other features' settings, such as NachaOriginSettings. |
Status moves follow BankAccountStatuses.Transitions: Unverified, VerificationSent, Verified, Failed move among each other; Closed is final.
Numbers are required for a payee's account (one with an Owner) and on a person's own account page. One of the business's own accounts may be saved without them, known by its last four digits or by nothing, until something needs them: printing the check line on blank stock (CheckPrinter refuses and names the account), a bank file, or a disbursement from or to it (IDisbursementService.CreateAsync refuses). Checks can still be issued on it, queued for pre-printed stock or recorded as written by hand.
| Member | Does |
|---|---|
ApplyNumbers(account, routing, account) | Validates for the country, normalizes, protects. Blank keeps the stored value. Returns refused numbers. |
TrySetStatus / ChangeStatusAsync | Moves the status when the table allows (the second also saves). |
StartVerificationAsync(account, verifierName) | Runs an IBankAccountVerifier and saves the returned status. |
RevealAccountNumberAsync(account, reason) | Reads the full number, logs who and why (never the number), tells observers. Only for users with RevealBankAccountNumbers or a payment file. |
GetUsagesAsync(account) | Why other records point to it. An account in use can't be deleted; close it instead. |
ApplyLink(account, providerName, result) | Applies a link provider's result (numbers, kind, bank name, status). |
Verifiers, LinkProviders | What the enabled features registered. |
IBankAccountManager stores accounts and lists them by owner (ListByOwnersAsync).
| Contract | Register with | Use |
|---|---|---|
IBankRoutingValidator | AddBankRoutingValidator<T>() | Number rules of one country (US ABA 3-7-1 check digit is built in; other countries default to up to 34 letters and digits). |
IBankAccountVerifier | AddBankAccountVerifier<T>() | A Check with button (Direct Deposit adds Test entry (prenote)). |
IBankAccountLinkProvider | AddBankAccountLinkProvider<T>() | Link a bank in the browser (Plaid). |
IBankAccountObserver | AddBankAccountObserver<T>() | After each save or reveal (Created, Updated, NumberChanged, StatusChanged, Deleted, NumberRevealed). Never gets the number. |
IBankAccountUsage | AddBankAccountUsage<T>() | Blocks deletion of an account your records use. |
Code samples for a verifier, a usage, an observer, a disbursement provider, a check voucher source and a source access are in references/banking-extensions.md.
CheckLayouts (stock, form, field positions in points, calibration, MICR settings, payer, signatures) and a register of CheckRecords. A check is numbered from the account's series Checks:{bankAccountId} (CheckNumbering.Next, starting at 1001), at print for pre-printed stock (AtPrint: Queued with number 0 until a print run numbers it), or recorded as written by hand (Handwritten, with its own number, Printed and never printed by the site). ICheckService issues, edits a check waiting to print (UpdateAsync), runs print runs, prints, reprints, voids on a date, reissues, stops, clears, un-clears and marks stale. Every issue passes through the ICheckWriteHandlers, and every void, reissue, clear, un-clear and edit through the ICheckChangeHandlers, which may refuse it. Signature images and the MICR font live in an encrypted tenant file store, never in the media library. A business account's default layout is its Checks card (BankAccountCheckSettings.DefaultLayoutId).Disbursement once per idempotency key (IDisbursementService.CreateAsync), batches pending ones by provider, source account, currency, source kind and scope (CreateBatchAsync), and releases them (ReleaseBatchAsync). Built-in providers: Printed check (Check, when Checks is on) and Paid outside the system (Manual).Nacha, method Ach, US dollars only), the NachaOriginSettings card (Bank file (ACH)) on the business's bank account, the prenote verifier, the return and change file import, and the Read a disbursement batch file pipeline step (ReadDisbursementBatchFile).Statuses, numbering and print runs, write and change handlers, layouts, the MICR line, providers, batches, returns and the full workflow input lists are in references/checks-and-disbursements.md.
Plaid is Banking's first link provider, and a tenant's one Plaid setup that other modules share (a bank transaction feed, for example) through CrestApps.OrchardCore.Plaid.Abstractions: IPlaidClient (calls with the tenant's credentials, including /accounts/get, /transactions/sync and /item/webhook/update), IPlaidLinkSite (link token requests with this tenant's webhook URL), IPlaidWebhookHandler (AddPlaidWebhookHandler<T>(), every verified webhook) and IPlaidCredentialsProvider (AddPlaidCredentialsProvider<T>(), keys from the host). Settings (PlaidSettings: Environment Sandbox or Production, ClientId, SecretName) hold only the name of an Orchard secret. Setup, the link flow, tokenized account numbers, the signed webhook, the shared seams and the CSP entries are in references/plaid.md.
{
"steps": [
{ "name": "Feature", "enable": [ "OrchardCore.Secrets", "CrestApps.OrchardCore.Plaid" ], "disable": [] },
{ "name": "Secrets", "Secrets": [ { "Name": "Plaid.Secret", "Store": "Database" } ] },
{
"name": "Settings",
"PlaidSettings": { "Environment": "Sandbox", "ClientId": "your-client-id", "SecretName": "Plaid.Secret" }
}
]
}
| Location | Feature | Permission |
|---|---|---|
| Banking > Bank Accounts | Bank Accounts | ManageBankAccounts |
| Banking > My Bank Accounts | Bank Accounts | ManageOwnBankAccounts |
| Banking > Checks (register, Write a check, Print queued checks, Next numbers) | Checks | ViewCheckRegister (actions ManageChecks) |
| Banking > Check Layouts | Checks | ManageCheckLayouts |
| Banking > Disbursements | Disbursements | ViewDisbursements (actions ManageDisbursements) |
| Banking > Disbursement Batches (release, download, mark paid, cancel, Import a return file, Reopen after checking) | Disbursements | ManageDisbursements |
| Settings > Plaid | Plaid | ManagePlaidSettings |
The Plaid secret itself is added under Tools > Security > Secrets.
| Permission | Feature | Notes |
|---|---|---|
ManageBankAccounts | Bank Accounts | Every account; full numbers stay hidden. Implies ManageOwnBankAccounts. |
ManageOwnBankAccounts | Bank Accounts | One's own accounts (owned by the user or a party the user is); no status, no reveal. |
RevealBankAccountNumbers | Bank Accounts | Security critical. Every reveal is an Audit Trail event. |
ManageCheckLayouts | Checks | Security critical. |
ManageChecks | Checks | Security critical. Write, edit before print, print and print runs, reprint, void, reissue, stop, clear, mark not cleared, next numbers. Implies ViewCheckRegister. |
ViewCheckRegister | Checks | The register and the Check register data set. |
ManageDisbursements | Disbursements | Security critical. Record, batch, release, return files. Implies ViewDisbursements. |
ViewDisbursements | Disbursements | The list and the Disbursements data set. |
ManagePlaidSettings | Plaid | Security critical. |
Administrators get all of them by default.
| Step | Entries | Deployment step | Notes |
|---|---|---|---|
BankAccounts | Accounts | Bank Accounts (IncludeSensitiveData writes numbers; needs RevealBankAccountNumbers, each number recorded as a reveal) | Matched by ItemId. Numbers are read in clear text and protected with the importing site's keys. A status is kept only with numbers. Properties carry BankAccountCheckSettings. |
CheckLayouts | Layouts | Check Layouts | Matched by id then name; files are not exported. |
CheckRegister | Checks | Check Register (opt-in, needs ViewCheckRegister) | Imported checks are history (IsHistorical) with their Numbering, VoidedOn and IsSpoiled; an existing bank account and number is skipped; a Queued check is refused. |
Disbursements | Disbursements | Disbursements (opt-in, needs ViewDisbursements) | History only; an existing idempotency key is skipped. No account number is written. |
{
"steps": [
{
"name": "BankAccounts",
"Accounts": [
{
"Name": "Payroll funding",
"HolderName": "Contoso Ltd",
"Kind": "Checking",
"Country": "US",
"Currency": "USD",
"BankName": "First Bank",
"RoutingNumber": "021000021",
"AccountNumber": "123456789",
"Status": "Verified",
"Properties": {
"NachaOriginSettings": {
"Enabled": true,
"ImmediateDestination": "021000021",
"ImmediateDestinationName": "FIRST BANK",
"ImmediateOrigin": "1123456789",
"ImmediateOriginName": "CONTOSO INC",
"CompanyName": "CONTOSO INC",
"CompanyIdentification": "1123456789",
"CompanyEntryDescription": "PAYROLL",
"IncludeOffset": false
}
}
},
{
"Name": "Avery's pay account",
"OwnerKind": "Staff",
"OwnerId": "staffmember0001",
"HolderName": "Avery Lee",
"Kind": "Checking",
"Country": "US",
"Currency": "USD",
"RoutingNumber": "021000021",
"AccountNumber": "000123456789",
"Status": "Verified"
}
]
}
]
}
More step samples (layouts, register, disbursements) and the Checks: positive pay file recipe (ChecksPositivePay) are in references/checks-and-disbursements.md.
With Data Pipelines Core on:
| Data source | Data set | Permission | Notes |
|---|---|---|---|
Banking | BankAccounts | ManageBankAccounts | Last digits only; numbers are never columns. |
Checks | CheckRegister | ViewCheckRegister | Date column is the indexed ModifiedUtc; restricted by source access; numbering, spoiled flag and void date columns. Feeds positive pay (queued checks left out). |
Disbursements | Disbursements | ViewDisbursements | Restricted by source access; no account number. |
| Feature | Events | Tasks |
|---|---|---|
| Bank Accounts | Bank Account Changed, Bank Account Status Changed (setting Status) | none |
| Checks | Check Issued, Check Edited, Check Printed, Check Voided, Check Stop Payment, Check Reissued, Check Stale, Check Cleared, Check Uncleared | Mark Stale Checks (AgeInDays, default 180; output StaleChecks) |
| Disbursements | Disbursement Created, Added to Batch, Removed from Batch, Submitted, Settled, Returned, Failed, Canceled, Reversed; Disbursement Batch Created, Released, Reopened, Canceled, Settled; Disbursement Returns Applied | Settle Disbursement Batches (AgeInDays, default 3; output SettledDisbursements) |
There is no background task: schedule Mark Stale Checks and Settle Disbursement Batches from a Timer Event once a day. No event input carries an account number.
| Symptom | Check |
|---|---|
| Disbursement refused for a bank file | The payee account is not Verified, has no numbers, or has another currency; the source account is not a business account (empty Owner) or is closed. |
| "The key was already used" | The idempotency key's disbursement failed, was cancelled, returned or reversed: use a new key for a new attempt. |
Batch stuck in Releasing | The provider threw. Check with the bank, then Reopen after checking on Banking > Disbursement Batches. |
| Disbursement refused for a business account | It is not a checking or savings account, or it has no routing and account numbers yet. |
| A layout refuses to print | Print the check line is on and no MICR font is uploaded, the account has no routing or account number, or a number doesn't fit the check line. |
| Can't write a check on an account | The account is a credit card, line of credit, cash or other kind (checks need checking or savings), closed or failed, or owned by another party. |
| A void, clear or edit is refused with a message | An ICheckChangeHandler of the module the check pays refused it (a closed accounting period, a bill that would be overpaid). |
| A queued check has no number | By design: pre-printed stock numbers it at Print queued checks; positive pay leaves it out until then. |
| Account can't be deleted | An IBankAccountUsage (checks, disbursements, Payroll) points to it; close it. |
| ACH file refused | No company entry description, an account number over 17 characters, or an arrival date in the past. |
| Plaid button missing | Plaid settings not configured (IsAvailableAsync false), or the secret has no value for the environment. |
| Plaid Link doesn't open | The site's CSP blocks https://cdn.plaid.com (scripts) or https://*.plaid.com (frames). |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/crestapps-orchardcore:orchardcore-bankingfrom crestapps-orchardcore
npx claudepluginhub crestapps/crestapps.agentskills --plugin crestapps-orchardcore137 skills in this plugin
/orchardcore-accountsSkill for the CrestApps Orchard Core Accounts module (CrestApps.OrchardCore.Accounts) with its Account Members, Account Team, Account E-mail Domains and Account Locations features. Covers the Account type and AccountPart, the account picker and search, IAccountChildTypeRule, account page sections (AccountPageTabs, AddPageSection, Notes), members and IAccountMemberService, account invitations, the account owner and team picked from staff, e-mail domains, locations with a billing location, the account's billing profile and party members, the Accounts recipe and deployment steps, and the admin menu. Use this skill when requests mention accounts, the businesses or households records belong to, an account page tab, members, invitations, owners, domains or locations. Strong matches include AccountPart, AccountPageTabs, IAccountMemberService, IAccountInvitationService, AccountInvitation, AccountTeamPart, AccountEmailDomainsPart, IAccountEmailDomains, AccountLocationsPart and ManageAccountMembers./orchardcore-accounts-b2bSkill for the CrestApps Orchard Core Accounts B2B module (CrestApps.OrchardCore.Accounts.B2B), business selling on an Account content item. Covers B2BAccountPart and B2BAccount, buyers as account members and ship-to addresses as account locations, terms (deposit, net days, credit limit) through the account-terms tender billed to the account, the account's billing profile, purchase order numbers, quotes, price lists through IBuyerPriceProvider, order limits, approvals and budgets, OCI punchout, the account/business page and API, the PriceLists recipe and deployment steps, the B2BAccounts report source, and the move from the removed Companies module. Use this skill when requests mention B2B, wholesale or business buyers, net terms, purchase orders, price lists, order approvals or punchout. Strong matches include B2BAccountPart, B2BAccount, AccountTerms, AccountTermsTenderProvider, B2BAccountBillingProfileSource, IB2BAccountStore, PriceList, B2BPriceProvider, B2BApprovalService and ManageB2BAccounts.Other plugins' skills for the same job