Components
liasse-fiscale
A multi-sheet French tax-return workbook — summary, balance sheet (assets/liabilities) and income statement.
Pro component. Install it with a license key — see Pro components.
The eponymous component: a multi-sheet workbook of the core French tax-return statements — a cover summary, the balance sheet (assets / liabilities) and the income statement — with computed subtotals, year-over-year columns and the net result. It is presentational and data-driven; it is not an official Cerfa form filing.
import { liasseFiscale } from "@/liasse/components/liasse-fiscale";
import { render } from "@liasse/core";
import "@liasse/xlsx";
const doc = liasseFiscale({
company: "ACME SARL",
siren: "812 345 678",
exercice: { from: "01/01/2026", to: "31/12/2026" },
actif: [
{ poste: "Immobilisations corporelles", brut: 240000, amortissement: 90000, netN1: 165000 },
{ poste: "Créances clients", brut: 132000, amortissement: 4000, netN1: 121500 },
],
passif: [
{ poste: "Capital social", net: 50000, netN1: 50000 },
{ poste: "Résultat de l'exercice", net: 92000, netN1: 73500 },
],
produits: [{ poste: "Ventes", montant: 540000, montantN1: 488000 }],
charges: [{ poste: "Achats consommés", montant: 312000, montantN1: 290000 }],
});
const bytes = await render(doc, { format: "xlsx" });Input
| Field | Type | Description |
|---|---|---|
company | string | Company legal name. |
siren? | string | SIREN/SIRET shown in the header. |
exercice? | { from, to } | Reporting period. |
actif | BilanActifLine[] | { poste, brut, amortissement?, net?, netN1? }. net defaults to brut - amortissement. |
passif | BilanPassifLine[] | { poste, net, netN1? }. |
produits | ResultatLine[] | Operating revenue: { poste, montant, montantN1? }. |
charges | ResultatLine[] | Operating expense: { poste, montant, montantN1? }. |
It lays out one sheet per statement — Synthèse, Bilan — Actif,
Bilan — Passif, Compte de résultat — with =SUM subtotals and the net
result (produits − charges).