Ir al final de los metadatos
Ir al inicio de los metadatos

Estás viendo una versión antigua de esta página. Ve a la versión actual.

Comparar con el actual View Version History

« Anterior Versión 3 Actual »

Due to the large number of customers and suppliers that may exist within an SAP system, a validation tool has been created for NIFs against AEAT.

This tool is divided into 3 parts:

  1. Mass check of NIFs: Mass check report of NIFs of the vendor and clients master data.
  2. Test check when creating a supplier/customer.
  3. Validation Job for NIFs not in the census.

In order to fully validate a NIF against AEAT and that there are no errors in sending the lots, several checks are made.

Initially, it will be checked every time a new supplier/client is created (if the parameterization check is activated), those previously created will be checked by the report.

In the negative case, these entries will be marked as erroneous, and after 24 hours, the same query will be carried out again, since from the AEAT a NIF dump is made from the Census to SII daily.

If that NIF is still not validated, N further checks are performed, the number is configurable by parameterization, by the validation job, if after that number or manually, it is still not validated, the invoices assigned to that supplier/customer will be sent with The NIF for the field IDOTRO (07-Not registered), instead of NIF, as recommended by the AEAT.



View in B+ SII:


Activation of the functionality will be performed in the /edge/sii_cu_011 transaction with the parameters, the transaction /EDGE/SII_CU_038 is provided with a relevant parameter update view to enable/disable NIF validation in Middleware parameterization in a simple way.

The relevant Middleware parameterization that must be done for the correct operation of the validation (as explained in section 2.1.8.1. MW Customizing in SII of this guide) is as follows:

NIF_CHECK = 'X', Boolean Indicates that the check for master data creation is active.

COM_CLASS_NIF = Class with which the validation is being performed. By default the classes

'/EDGE/CL_SII_CONSULTA_RAZON_PI' are provided for systems with B + SII PI and

'/EDGE/CL_SII_CONSULTA_RAZON_CL' for B + SII FUSE systems.

HECK_NIF_EXTRANJERO = 'X', Boolean that will indicate that foreign NIFs must also be validated. If this customization is not done, or is done without the flag, both in the modification / creation of date master and in the NIF validation report, only Spanish NIFs will be validated.

  • Sin etiquetas