ecuitvalidator Validates CUIT used by AFIP in Argentina.

  1. Requirements
  2. Usage
  3. Resources

This extensions allos to validate CUIT numbers used by the AFIP (http://www.afip.gob.ar) in Argentina.

A CUIT is a 11 digit number. The last digit is a validation code. This extension uses this validation code to verify the CUIT, as a way to avoid saving inconsistent data.

Requirements

Yii 1.0 or above

Usage

Extract the release file under a directory of your choice (e.g. protected/extensions/validators) In the model you should use:

public function rules()
{
   return array(
        array('<attributeName>', 'ext.validators.ECuitValidator'),
   )
}

Resources

2 0
3
183
Yii Version: 1.1
License: BSD-2-Clause
Category: Validation
    Developed by: jpablo jpablo
    Created: Jan 19, 2012
    Updated: 14 years ago

    Downloads

    show all