Enterprise Reference Suites
Perlite organizes large enterprise estates into modular business suites (DomainSuite), separating domain concerns into clean modules. Each suite groups cohesive domain entities, composite multi-pane screens, business logic action points, roles, scenarios, and versioned domain interfaces (API, Event, and Message) into an independently packagable unit.
Every suite maintains strict bounded-context autonomy: cross-suite references compile against lightweight enriched peer stubs pinned through a lock manifest, while operational transactions flow across explicit typed interface contracts and declarative triggers.
Enterprise Financials Reference Architecture (Suites 1.1 – 1.6)
The six financial reference suites demonstrate how 52 interconnected entities, 26 composite workbench screens, and 18 domain interfaces compose into a double-entry enterprise ERP:
┌─────────────────────────────────────────────────────────────────────────┐│ Suite 1.1 · Accounting Hub & General Ledger ││ LedgerAccount · AccountingBook · FiscalPeriod · JournalEntry · Balances│└────────────▲──────────────────▲──────────────────▲────────────────▲─────┘ │ GL Journal Post │ GL Journal Post │ GL Recon Post │ FA / Tax Post┌────────────┴──────┐ ┌─────────┴────────┐ ┌───────┴────────┐ ┌─────┴──────────────┐│ 1.2 AP & Vendors │ │ 1.3 AR & Credit │ │ 1.4 Cash Mgmt │ │ 1.5 Fixed Assets ││ PurchaseInvoice │ │ CustomerInvoice │ │ BankStatement │ │ FixedAsset · CIP ││ PaymentBatch │ │ CashApplication │ │ LiquidityPool │ │ DepreciationBook │└─────────▲─────────┘ └────────▲─────────┘ └────────────────┘ └─────────▲──────────┘ │ │ │ └────────────────────┴──── Tax Determination & Filing ────────┘ ┌──────────────────────────────┴─────────────┐ │ 1.6 Multi-Jurisdiction Tax Engine │ │ NexusRule · TaxCode · TaxRate · TaxPeriod │ └────────────────────────────────────────────┘| Suite | Focus & Capabilities | Core Entities | Key Workbench Screens | Inbound & Outbound Interfaces |
|---|---|---|---|---|
| 1.1 General Ledger | Chart of accounts, multi-book journals, control locks & staged period close | LedgerAccount, AccountingBook, FiscalPeriod, JournalEntry, JournalLine, AccountPeriodBalance |
GeneralLedgerScreen, ChartOfAccountsScreen, PeriodCloseWorkspace, FinancialStatementsScreen |
JournalEntry.Post, GeneralLedger.Get |
| 1.2 Accounts Payable | Supplier onboarding, dual-control bank verification, 2/3-way matching & payment runs | Vendor, VendorSite, VendorBankDetail, PurchaseInvoice, PurchaseInvoiceLine, PaymentBatch, Payment, PaymentAllocation |
APInvoiceWorkbench, PaymentRunWorkbench, APAgingMatrix |
PurchaseInvoicePostToGL, PaymentDisbursementExport |
| 1.3 Accounts Receivable | Customer credit limits, invoicing, lockbox cash application, disputes & dunning | CustomerAccount, CustomerCreditProfile, CustomerInvoice, PaymentReceipt, CashApplication, DisputeCase, DunningNotice |
ARInvoiceWorkbench, CashApplicationDesk, ARAgingCollectionsConsole, Customer360Screen, DisputeManagementConsole |
CustomerInvoicePostToGL, LockboxDepositIngest, CustomerAgingQuery |
| 1.4 Cash Management | Multi-bank statement ingestion, auto-matching, liquidity pooling & intercompany sweeps | BankAccount, BankStatement, StatementLine, ReconciliationRule, ReconciliationMatch, CashPositionSnapshot, LiquidityPool, IntercompanyTransfer |
TreasuryCashPositionCockpit, BankReconciliationWorkbench, CashFlowForecastingMatrix, IntercompanySweepingMonitor |
BankStatementIngest, BankReconciliationGLPost, CashPositionQuery |
| 1.5 Fixed Assets | Asset commissioning, CIP capitalization, multi-book depreciation, transfers & disposals | AssetCategory, FixedAsset, DepreciationBook, DepreciationSchedule, CIPProject, CIPCostLine, AssetTransfer, AssetDisposal |
FixedAssetMasterRegister, CIPCapitalizationConsole, MonthlyDepreciationRunWorkbench, AssetDisposalWizard |
FixedAssetGLIntegration, CIPInvoiceAccrual, AssetBarcodeScan |
| 1.6 Tax Engine | Real-time indirect tax lookup, economic nexus monitoring, exemption vault & period filing | TaxAuthority, TaxJurisdiction, TaxCode, TaxRateSchedule, NexusRule, TaxExemptionCertificate, TaxAuditRegister, TaxPeriodSummary |
TaxNexusExposureMatrix, TaxRateMaintenanceConsole, TaxExemptionCertificateVault, TaxAuditFilingWorkbench |
TaxDeterminationService, TaxAuditRegisterIngest, StatutoryTaxFilingExport |
How Subledgers Integrate Without Circular Coupling
- Structural Independence via Peer Stubs: When Accounts Payable references
FiscalPeriodorLedgerAccount, importing the General Ledger suite generates lightweight peer stubs inside the workspace so foreign-key relations compile and Prisma queries stay valid without duplicating GL source ownership. - Contracted Cross-Suite Writes via Interfaces & Triggers: Subledgers publish balanced accounting entries through typed interfaces (
/api/interfaces/gl/journal-entry/post,/api/interfaces/ap/post-to-gl,/api/interfaces/fa/gl-integration) backed by declarative.triggerfield mappings into target entity pipelines (CreateOneand custom action points). - Uniform Enterprise Traits: All 52 entities inherit
AuditableandMultiTenantgovernance, while sequential financial documents applySequentialNumbering,PeriodLocked, andBalancedTransactiontraits for uniform compliance across every database table and endpoint.