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 declaraciones · se muestran las primeras 6SELECT 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 Obligatorio 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 Obligatorio 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 importaciones · se muestran 35

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
Tu vista

Make room for your context.

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

Tu contexto

The different parts of you

Choose a starting point

Una mezcla útil de contexto, imágenes y orientación discreta.

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

Comodidad de lectura

Elige tu idioma

El idioma de la interfaz solo cambia el texto. Los mercados, precios y flujos de trabajo conservan sus propios ajustes.

Cobertura de traducción

Parte del contenido se muestra en inglés.

Navegación151
Grafo616
Categorías188
Portafolio332
Ejemplos2035
Vista previa de la fuente41

Se añadirán más traducciones a medida que se revise el contenido.

Esta preferencia se guarda en este navegador.

Buscar en el sitio web

Puntos de partida útiles

Sin resultados. Prueba una frase más corta, un nombre de operación u otro ámbito de búsqueda.

UN POCO DE ESPACIO PARA EXPLORAR

Encuentra algo que explorar.

Abre una vista detallada en esta página, prueba otra perspectiva o sigue el detalle a su propia página.

Cómo funcionan las vistas previas y los controles
01

Mirar antes de salir

Pasa el cursor por un enlace o enfócalo con Tab para ver una vista previa. Hacer clic en el enlace original o pulsar Intro siempre abre su destino.

02

Mantener el contexto

Entra en la vista previa para explorar sus secciones. Usa Alt + ↓ desde un enlace enfocado para entrar con el teclado. Escape la cierra.

03

Abrir las posibilidades

Las filas desplegables, las perspectivas y los controles destacados revelan más. Tu vista cambia la comodidad de lectura y el contexto que exploras.

Un botón separado para mirar más de cerca

Muestra pequeños botones de vista previa junto a los enlaces donde haya espacio. Toca el ojo para inspeccionar o el enlace para ir directamente. Esta elección permanece en esta pestaña.

No se recoge historial de navegación. El movimiento reducido sigue tu dispositivo y Tu vista.