modulePackage manifestv4.0.5

module.billing-os

CompanyOS composition module for governed BillingOS action plans, authority checks, autonomy classification, and operator inbox routing.

@lssm-tech/module.billing-os
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 4.0.5. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
servernode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEmodule.billing-osdomains

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

15 déclarations · les 6 premières affichéesSELECT TO INSPECT

@lssm-tech/module.billing-os

CompanyOS composition for BillingOS action plans. The module maps BillingOS action classifications into CompanyOS authority, autonomy, and operator inbox review artifacts without provider SDKs, credentials, network calls, France hard dependency, or authorized billing execution. It includes no production PA submission and no provider credentials.

The default surface is country-neutral. France readiness remains in @lssm-tech/lib.billing-france and can be composed by examples or optional adapters later.

Reusable UI

The ./ui export provides reusable, mobile-first BillingOS presentation surfaces for product shells and examples:

  • quote creation and edition workspace with deterministic VAT totals and wrapping mobile-safe line-item controls
  • invoice inbox and payment reconciliation workspaces with mobile-safe rows/actions
  • compliance readiness and CompanyOS review workspaces with approval controls that wrap at narrow widths
  • shared billing status badges, summary cards, cards, editor types, and currency helpers

Host packages should pass deterministic data into these components and keep provider execution, credentials, native/Expo rendering, and country-specific legal decisions outside the module. Expo/native hosts should render RN-safe adapters from deterministic view-model or proof data instead of importing @lssm-tech/module.billing-os/ui.

Safety

The module includes no production PA submission, no provider credentials, and no authorized billing execution. It only creates review metadata and operator approval routing.

FinanceOS lifecycle bridge

The additive ./finance surface links quote, invoice, payment, provider-actual, economic-evidence, and FinanceOS posting references. It fails closed on tenant, company, settlement, evidence, balance, and Connect-authorization checks and returns an authorized handoff rather than executing a ledger or provider call. prepareBillingFinanceLifecycleV2 is the exact-money surface: it binds the quote, account, invoice, payment, provider actual, posting units, and digest-authorized handoff. Authorization requires the exact billing.finance_posting.authorize capability and a tenant-, policy-, and canonical-plan-bound Connect decision. The original BillingFinanceLifecycleInput remains accepted additively, but fails closed with a review-required migration receipt; it cannot emit ledger evidence or an authorized handoff without the V2 fields.

Mobile and native proof boundary

The reusable UI is a web/React presentation surface that must remain usable on phone-width layouts, but it is not a React Native component library. The mobile monolith BillingOS proof renders the France SME summary/review path with RN primitives and deterministic proof constants, while keeping the same no-provider, no-network, no-production-submission safety boundary.

Internationalization

All user-facing strings rendered by ./ui are translated through the ./i18n export, which ships en, fr, and es catalogs under the billingOs.* key namespace (spec key billing-os.messages).

  • React components consume translations via useI18n from @lssm-tech/lib.design-system/i18n; the module never mounts a LocaleProvider. The host app/bundle owns the provider and supplies a runtime that binds these catalogs (e.g. wrapping createBillingOsI18n(locale)).
  • Without a provider, t(key) returns the key as-is (fail-open, never throws). Catalog completeness is enforced statically by the parity test and the repo i18n:check gate.
  • Non-React callers can build an instance directly with createBillingOsI18n(locale) from @lssm-tech/module.billing-os/i18n.
  • French and Spanish translations are LLM-generated and pending human review; the en catalog is the reference locale.

Locale-correct money formatting (readiness)

Readiness target locale set is en/fr/es (no de). Money/number formatting is locale-correct at every call site:

  • formatCurrency(amount, currency, locale) (./ui → src/ui/lib/format.ts) takes a Obligatoire locale (no en-US fallback), so French/Spanish amounts render with locale-correct grouping and symbol placement (e.g. 1 234,56 €, not €1,234.56).
  • The PaymentCard organism takes a Obligatoire locale prop and threads it through useI18n(locale) for per-component locale-aware formatting.
  • Resolve the active locale from useI18n() (or the host i18n context) and pass it at each call site.
  • France-specific VAT/compliance lives in @lssm-tech/lib.billing-france and is jurisdiction logic, not locale formatting — it is preserved independently of the locale.

Declared capabilities.

Module Billing Os

CompanyOS composition module for governed BillingOS action plans, authority checks, autonomy classification, and operator inbox routing.

Use it to

  • Adopt companyos composition module for governed billingos action plans, authority checks, autonomy classification, and operator inbox routing

Requires

  • TypeScript

Choose another boundary when

  • The @lssm-tech/module.billing-os package constraints do not match the target runtime or platform.

@lssm-tech/module.billing-os

@lssm-tech/module.billing-os/composition

@lssm-tech/module.billing-os/finance

@lssm-tech/module.billing-os/finance/lifecycle

@lssm-tech/module.billing-os/handlers/compute-tax-breakdown

@lssm-tech/module.billing-os/handlers/issue-credit-note

@lssm-tech/module.billing-os/handlers/issue-invoice

@lssm-tech/module.billing-os/handlers/legal-number-port

@lssm-tech/module.billing-os/handlers/quote-draft-save

@lssm-tech/module.billing-os/handlers/submit-invoice

@lssm-tech/module.billing-os/i18n

@lssm-tech/module.billing-os/i18n/catalogs

Imports and export paths.

86 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

86 imports · 35 affichés

Dependencies and related packages.

Runtime dependencies 15
lucide-react
catalog:ui
react
catalog:
react-dom
catalog:
Development dependencies 7
@types/react
catalog:types
@types/react-dom
catalog:types
axe-core
^4.13.0
happy-dom
catalog:testing
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose
publish:pkg:canarybun publish:pkg --tag canary
buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
devcontractspec-bun-build dev
cleanrimraf dist .turbo
lintbun lint:fix
lint:fixnode ../../../../scripts/biome.cjs check --write .
lint:checknode ../../../../scripts/biome.cjs check .
testbun test
prebuildcontractspec-bun-build prebuild
typechecktsgo --noEmit
Votre vue

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Votre contexte

The different parts of you

Choose a starting point

Un mélange utile de contexte, de visuels et de guidage discret.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Confort de lecture

Choisir votre langue

La langue de l’interface change uniquement le texte. Les marchés, les prix et les parcours conservent leurs propres paramètres.

Couverture des traductions

Une partie du contenu est affichée en anglais.

Navigation151
Graphe616
Catégories378
Portfolio833
Exemples2 035
Aperçu de la source1 542

D’autres traductions seront ajoutées à mesure que le contenu sera relu.

Cette préférence est enregistrée dans ce navigateur.

Rechercher sur le site

Des points de départ utiles

Aucun résultat. Essayez une expression plus courte, un nom d’opération ou un autre périmètre de recherche.

UN PEU DE PLACE POUR EXPLORER

Trouvez quelque chose à explorer.

Ouvrez un aperçu détaillé sur cette page, essayez une autre perspective ou suivez le détail vers sa propre page.

Fonctionnement des aperçus et des commandes
01

Regarder avant de partir

Survolez un lien ou sélectionnez-le avec Tab pour voir un aperçu. Cliquer sur le lien d’origine ou appuyer sur Entrée ouvre toujours sa destination.

02

Rester dans le contexte

Entrez dans l’aperçu pour explorer ses sections. Depuis un lien sélectionné, utilisez Alt + ↓ pour y entrer au clavier. Échap le ferme.

03

Ouvrir les possibilités

Les lignes dépliables, les choix de perspective et les commandes mises en évidence révèlent davantage. Votre vue adapte le confort de lecture et le contexte exploré.

Un bouton séparé pour voir de plus près

Affichez de petits boutons d’aperçu à côté des liens quand l’espace le permet. Touchez l’œil pour examiner ou le lien pour y aller directement. Ce choix reste dans cet onglet.

Aucun historique de navigation n’est collecté. La réduction des animations suit votre appareil et Votre vue.