The Project
FatturaLa is a modern SaaS platform for Italian electronic invoicing (FatturaPA compliance). It provides small businesses, freelancers, and accountants with simple, compliant invoicing — from draft to SDI delivery — with multi-organization management and team collaboration.
Key Features
- Full FatturaPA 1.2 compliance — supports all document types (TD01-TD27)
- Invoice workflow — Draft → Emitted → Sent → Delivered/Rejected with state machine (AASM)
- Multi-organization — manage invoicing for multiple businesses from one account
- Team collaboration — invite colleagues with role-based permissions (Devise Invitable)
- Automatic VAT calculations — IVA computation with split payment and reverse charge support
- XML digital signatures — FatturaPA XML generation with xmldsig for legal validity
Technical Highlights
Rails 8.1 with acts_as_tenant for multi-tenancy. AASM state machine for invoice lifecycle. Nokogiri + Savon for XML/SOAP processing. Prawn for PDF generation. Modern Rails infrastructure: Solid Queue, Solid Cache, Solid Cable. Deployed via Kamal + Docker.