Account<TKind, TCurrency> | Ledger Type | Core Types | Strongly typed Asset, Expense, Liability, Equity, or Revenue T-account handle |
audit.attestZsox302(ledger, periodId) | Z-SOX-302 | audit.* | Produces deterministic SHA-256 Merkle trial-balance attestation record |
audit.trialBalance(ledger) | Z-SOX-302 | audit.* | Exports immutable trial balance verifying Assets + Expenses == Liabilities + Equity + Revenue |
capital.allocateByWeights(amount, weights) | Linear Fn | capital.* | Proportional largest-remainder (Hamilton) allocation preserving exact total sum |
capital.assertZero(remainder) | Linear Fn | capital.* | Consumes a proven-zero Capital<T> remainder binding cleanly at scope exit |
capital.combine(a, b) | Linear Fn | capital.* | Consumes two same-currency Capital<T> bindings into a single summed Capital<T> |
capital.splitEqual(amount, ways, RoundingPolicy.FloorWithRemainder) | Linear Fn | capital.* | Splits Capital<T> into (Share[], Remainder) tuple so zero sub-cents vanish (FIN0005) |
Capital<TCurrency> | Linear Type | Core Types | Non-copyable, non-droppable linear monetary resource parameterized by ISO 4217 unit |
credit <Account> -> <Capital> | Keyword | Keywords | Sources balanced linear Capital<T> from a credit posting inside a transaction block |
debit <Account> <- <Capital> | Keyword | Keywords | Consumes linear Capital<T> into a debit posting inside a transaction block |
FIN0001: ConservationOfCapitalViolationException | Error | Diagnostics | Scalar +=, -=, =, or un-paired account mutation attempted outside a balanced transaction |
FIN0002: UnbalancedJournalEntryError | Error | Diagnostics | Transaction debit sum cannot be proven equal to credit sum per currency |
FIN0003: BinaryFloatingPointForbiddenOnCapitalError | Error | Diagnostics | IEEE 754 float or double used in arithmetic with Capital<T>, Rate, or Account |
FIN0004: CrossCurrencyConservationMismatchError | Error | Diagnostics | Direct Capital<USD> + Capital<EUR> operation without explicit fx.convert settlement bridge |
FIN0005: UnconsumedLinearCapitalError | Error | Diagnostics | Linear Capital<T> value or allocation remainder went out of scope without being posted |
finsc audit | CLI | CLI | Emits Z-SOX-302 SHA-256 journal proof manifest and balanced T-account summary |
finsc build | CLI | CLI | Verifies conservation proofs and compiles .fin project to deterministic .NET assembly |
finsc check | CLI | CLI | Runs Lexer, Parser, Binder, and LinearFlowAnalyzer without emitting IL (--diagnostics=json) |
finsc fmt | CLI | CLI | Comment-preserving formatter aligning ledger accounts and debit/credit columns |
finsc lsp | CLI | CLI | JSON-RPC 2.0 Language Server over stdio with live T-account hover previews |
fx.convert(sourceCapital, quote, fxClearingAccount) | FX Bridge | fx.* | Conservatively converts Capital<TFrom> to (Capital<TTo>, FxAuditReceipt) via clearing leg |
fx.quote<TFrom, TTo>(scaledRate, timestampUtc, providerId) | FX Bridge | fx.* | Constructs an immutable signed foreign-exchange rate quote |
ledger <Name> { ... } | Keyword | Keywords | Declares a closed accounting boundary governed by Conservation of Capital |
opening_balance(...) | Boundary | Keywords | Auditable external boundary ingress pairing an Asset opening balance against Equity |
Rate<TFrom, TTo> | Fixed-Point | Core Types | Exact 128-bit scaled exchange or interest rate (IEEE 754 float/double banned by FIN0003) |
report.exportTaggedPdfUa(trialBalance, outputPath) | Accessibility | report.* | Emits ISO 14289-1 Tagged PDF/UA-1 accessible financial statement via Document Studio schema |
RoundingPolicy | Enum | Core Types | Explicit remainder policy: HalfEven, Bankers, or FloorWithRemainder |
transaction [audit: ...] { ... } | Keyword | Keywords | Atomic double-entry journal block statically proving Sum(Debits) == Sum(Credits) |