@lssm/integration.provider-einvoicing
v2.0.1
Published
French Factur-X (EN16931 CII) generation, EN16931/CIUS-FR conformance (Mustangproject), and PDP submission adapters for ContractSpec BillingOS.
Readme
@lssm/integration.provider-einvoicing
French Factur-X generation and PDP submission for ContractSpec BillingOS.
./cii— pure EN16931 Cross-Industry Invoice (CII) XML builder../facturx—FacturXGeneratorPort+ a Mustangproject-backed PDF/A-3 hybrid generator../conformance— EN16931 / Factur-X CIUS-FR validation via Mustangproject (JVM)../pdp—PdpSubmissionPort, a deterministic mock, a fail-closed production stub, and an idempotent submission guard.
Conformance toolchain
Validator: Mustangproject CLI 2.17.0 (vendored at vendor/Mustang-CLI-2.17.0.jar,
from Maven Central org.mustangproject:Mustang-CLI:2.17.0). It runs XSD schema
validation and EN16931 / Factur-X Schematron business rules over the JVM
(OpenJDK 17). Set EINVOICING_JAVA_BIN to override the java binary.
Conformance and embedding are never faked: if the jar or JVM is absent, the
generator returns the machine CII XML with embedded:false, and the validator
returns available:false with a skip reason.
Depends on @lssm/lib.billing-france (TVA rounding, flow classification)
and @lssm/lib.billing-spec (invoice types). This package owns Factur-X
generation + PDP submission; the lib stays pure.
