using Khaemhat.Fiscal.Abstractions; namespace Khaemhat.Fiscal.Italy; /// /// The Italian fiscal pack (SPEC ยง1.10, ADR 0007, ADR 0025): chosen for companies whose company_profile.country /// is IT. Registered only by the composition root of Khaemhat.Web. /// public sealed class ItalyFiscalPack : FiscalPackBase { /// The version of the Italian base data and code lists. public const string Version = "IT 2026.3"; /// Creates the pack with every feature this version delivers. public ItalyFiscalPack() { AddFeature(new FatturaPaFormat()); AddFeature(new FatturaPaReader()); AddFeature(new IncomingInvoiceRulesIt()); AddFeature(new SelfInvoiceRulesIt()); AddFeature(new WithholdingRulesIt()); AddFeature(new FixedAssetRulesIt()); AddFeature(new F24Exporter()); AddFeature(new ItalianTaxIdentifierRules()); AddFeature(new ItalianBaseTables()); AddFeature(new ItalianPlaces()); AddFeature(new ItalianLedgerTemplate()); AddFeature(new VatSettlementRulesIt()); AddFeature(new LipeWriter()); // ABI and CAB are read from every Italian IBAN; bank names and BICs arrive with the ABI list (ADR 0026). AddFeature(new ItalianBankDirectory([])); } /// public override string CountryCode => "IT"; /// public override string Name => "Italia"; /// public override string DataVersion => Version; /// public override ITaxCodeCatalog TaxCodes { get; } = new ItalianTaxCodeCatalog(); /// public override ITaxEngine TaxEngine { get; } = new ItalianTaxEngine(); /// public override IFiscalCalendar Calendar { get; } = new ItalianFiscalCalendar(); }