feat: identifier validators and the VIES client (#40)
Parties need their identifiers checked before they reach documents. IBAN, EAN and e-mail checks are international and live in Core. The Italian VAT number, fiscal code (with calculator, decoder and omocodia) and SDI recipient code are Italian, so they sit in the Italian pack behind ITaxIdentifierRules, as the non-negotiable rule of SPEC 1.10 wins over the class list of SPEC 21 (ADR 0025). IBankDirectory reads ABI and CAB from an Italian IBAN; its bank list arrives with the base data. ViesClient calls the VIES REST service and never reports a number as invalid when the service could not answer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
49d2bb166b
commit
25f8a7ad30
10 files changed
+1086
-2
No files matched your search
@@ -18,6 +18,7 @@ public sealed class ItalyFiscalPack : FiscalPackBase
|
||||
AddFeature<IWithholdingRules>(new WithholdingRulesIt());
|
||||
AddFeature<IFixedAssetRules>(new FixedAssetRulesIt());
|
||||
AddFeature<ITaxPaymentFormExporter>(new F24Exporter());
|
||||
AddFeature<ITaxIdentifierRules>(new ItalianTaxIdentifierRules());
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in new issue
Block a user