M9 · Fatturazione elettronica (v0.9.0) #128
Merged
Alby96
merged 5 commits from 2026-11-13 13:31:17 +01:00
feat/74-fatturazione-elettronica into main
No Reviewers
Labels
Clear labels
Area/Acquisti e magazzino
Area/Amministrazione
Area/Anagrafiche e articoli
Area/Automazioni e API
Area/CRM e servizi
Area/Contabilità e IVA
Area/Dati
Area/Docker e CI
Area/Documentazione
Area/Documenti e vendite
Area/Fatturazione elettronica
Area/Fondamenta
Area/Interfaccia
Area/Sicurezza e licenze
Area/Tesoreria
Compat/Breaking
Kind/Bug
Kind/Chiusura milestone
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Modulo/ACCT
Modulo/API
Modulo/ASSET
Modulo/AUTO
Modulo/CHAN
Modulo/CORE
Modulo/CRM
Modulo/EINV
Modulo/FIN
Modulo/INTRA
Modulo/MULTI
Modulo/REPORT
Modulo/SVC
Ordini fornitore, carichi, fatture passive, autofatture, movimenti, giacenze, inventario, riordino
Istanza e database, backup e ripristino, impostazioni, stato sistema, log, import/export
Tabelle azienda, clienti, fornitori, articoli, listini, codici automatici
Regole quando-se-allora, procedure, attività programmate, REST API, MCP, webhook, report
Lead, pipeline, attività e agenda, campagne, ticket, contratti e interventi, canali e-commerce
Piano dei conti, prima nota, registri e liquidazione IVA, ritenute, cespiti, Intrastat, chiusura, bilancio
Micro-ORM, provider SQLite e PostgreSQL, migrazioni, registry dei database, seed
Dockerfile, compose, template Unraid, Gitea Actions, pacchetto nel registro di Gitea
Wiki, docs/*.md, ADR, CHANGELOG, screenshot
Motore documenti, numerazione, totali, stampe, preventivi, ordini, DDT, fatture
FatturaPA, validazione, canali SDI (PEC, SdICoop, intermediari), notifiche, conservazione
Soluzione e progetti, configurazione da variabili d'ambiente, host, health, cache, scheduler, log
Blazor, componenti Kh*, shell, temi e accenti, dashboard, aderenza ai mockup
Utenti a tre livelli, permessi, sessioni, 2FA, segreti cifrati, licenze e moduli
Scadenzario, incassi e pagamenti, RiBa/SDD/SEPA, riconciliazione bancaria, solleciti
Modifica non retrocompatibile (schema, API, configurazione)
Qualcosa non funziona
Verifica della Definition of Done (SPEC §20), wiki completa, CHANGELOG, tag e immagine
Documentazione
Miglioramento di una funzionalità esistente
Nuova funzionalità
Sicurezza
Test, prestazioni, verifica
Contabilità: piano dei conti, prima nota, IVA, LIPE/F24, ritenute, bollo, chiusura, bilancio CEE
Integrazioni: API REST, MCP, webhook, chiavi API
Cespiti: registro beni ammortizzabili, ammortamenti, dismissioni
Automazioni: regole quando-se-allora, procedure pianificabili
Canali e-commerce: connettore generico, ordini web, sincronizzazione giacenze/prezzi
Base: anagrafiche, articoli, documenti, acquisti, magazzino, tabelle, report base, amministrazione, allegati
CRM: lead, pipeline/opportunità, attività e agenda, campagne, ticket
Fatturazione elettronica: XML, canali SDI, notifiche, autofatture, dichiarazioni d'intento, bollo virtuale
Tesoreria: scadenzario, incassi/pagamenti, RiBa/SDD/SEPA, riconciliazione, solleciti, flusso di cassa
Intrastat: elenchi cessioni/acquisti e file Agenzia Dogane
Multi-azienda: aziende oltre la prima sulla stessa istanza
Report avanzati: margini, analisi, report pianificati, export per il commercialista
Servizi: contratti di assistenza, squadre, interventi, rapportini
Priority
Critical
Priorità critica
Priority
High
Priorità alta
Priority
Low
Priorità bassa
Priority
Medium
Priorità media
Reviewed
Confirmed
Confermata
Reviewed
Duplicate
Esiste già
Reviewed
Invalid
Non valida
Reviewed
Won't Fix
Non verrà risolta
Status
Abandoned
Lavoro iniziato e abbandonato
Status
Blocked
Bloccata da un'altra issue o da un problema tecnico
Status
In attesa utente
Serve qualcosa che solo il titolare può dare: credenziali, PNG dei mockup, scelte di prodotto, prove su Unraid
Status
Need More Info
Servono informazioni per riprodurre o proseguire
No labels
Milestone
No items
No Milestone
M9 — Fatturazione elettronica · v0.9.0
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BalboSoft/Khaemhat#128
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
M9 · Fatturazione elettronica (v0.9.0).
Closes #74
Closes #75
Closes #76
Closes #77
Closes #79
Closes #80
Closes #81
#78 (choice of the intermediaries, SdICoop accreditation) stays open: it waits for the owner.
What changes
FatturaPaWriterwrites FPR12/FPA12/FSM10 v1.2 with SDI naming and a base-36progressive never reused;
FatturaPaValidatorrepeats offline the SDI checks with the same error codes and thetolerances of specification 1.9.1, plus the structure against an embedded hand-written schema.
the file and its document in the same transaction; manual import of XML, P7M and portal ZIPs; rejected invoices
become editable again and get a new file; courtesy PDF with the XML embedded.
generic REST intermediaries, all behind
IEInvoiceTransport; routing rules with fallback channel;einvoice.pollevery 15 minutes; SdICoop push at
POST /sdicoop/{company}authenticated by the channel key (mTLS on the reverseproxy).
conservation packages; Home feed items for rejected and pending files.
import; ZIP packages with SHA-256 index.
DemoDataRemover, driven by the schema of the migrations, withscripts/seed.sh --remove-demo.di esempio, Guida all'uso, Fiscalità italiana, Vendite, Acquisti, Attività programmate, Roadmap,
Home, Changelog; ADR 0039 and 0040;
MODULES.md,STATUS.md,CHANGELOG.md[0.9.0].Notes
without the owner's permission). Swapping it in changes no code.
Tests
851 tests green on SQLite (23 PostgreSQL tests skipped) and all 874 green on PostgreSQL 18 with a local container;
scripts/check-packages.shandscripts/gen-datamodel.sh --checkOK.🤖 Generated with Claude Code
The SDI dashboard (mockup 058) with its six counters, the documents to generate, generate+send, manual receipts import, history, courtesy copy and mark-as-sent; the channels page (mockup 059) with settings, test, pause and routing rules; the received invoices, the notifications and the conservation packages. The SdICoop web service receives pushes at /sdicoop/{company}, authenticated by the key of the channel, through a new IEInvoicePushReader feature so the web layer stays country-neutral. The menu gives each e-invoice page its own permission and keeps the intent declarations under M10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>