Codice Fiscale


That contrib lets you store customer's Italian Codice Fiscale for each placed order.

Codice Fiscale it's mandatory for transactions made by Italian e-commerce stores.

That module should be used in conjunction of uc_vat module. It extends billing pane of checkout form.


  1. extract the tarball in the ubercart's contrib directory (should be sites/all/modules/ubercart/contrib/uc_codice_fiscale)
  2. goto store settings and fill your vendor's Codice Fiscale
  3. use [store-codice-fiscale] and [order-codice-fiscale] tokens in your invoces

Till now it's validating string by regex. If needed, should be extended with Codice Fiscale calculation.

uc_codice_fiscale-0.1.tar.gz1.91 KB
jorgesi's picture
Joined: 10/16/2009
Juice: 4
Re: Codice Fiscale

unfortunately can't get it to work with latest version of Ubercart! Why doesn't Ubercart support this in core?

ñ's picture
Joined: 01/26/2009
Juice: 136
I agree!


dizeta's picture
Joined: 12/18/2009
Juice: 2
[order-codice-fiscale] does'nt work for me

The module works perfectly on my Drupal6 but the [order-codice-fiscale] token in my invoice doesn't work.[store-codice-fiscale] is working properly.

calbasi's picture
Joined: 03/01/2009
Juice: 109
Useful for Spain?


I wonder if this module is useful for Spain. Here we need and 9 digit code. One of them is a letter, like this:


Is this module suiteble for that? Or is there a more generic CIF module?

Regards's picture
Joined: 02/26/2008
Juice: 97
not in core

Because Codice Fiscale is used only in italian commerce? Eye-wink's picture
Joined: 02/26/2008
Juice: 97
for Spain

You could use it as starting point for a new module, just edit the regular expression validation.