/
2.1.6.6. Before sending validations

2.1.6.6. Before sending validations

Important

This functionality is disabled from product, and it is not longer supported. But it can be still used by customers who want to keep validations.

Prior to send to the AEAT, preliminary validations will be carried out to avoid rejection in the AEAT. The validation error is displayed both when you press the Generate and Send button, and View XML to send. A message with Error in Validation will be displayed, and clicking on it will give the complete message. 


Example




When there is an error in validation, the batch remains with "Error Mapping" status:

 
Once the documents have been corrected, the Batch will be marked as corrected and can be resent.

This configuration can be found in transaction:

In this table it can be configured a Z class to set checks before sending:

For each validation the Company that will be affected can be indicated. This only works if a Company is indicated or '*', in case of there is not any entry configured in Company table this validation will not have effect.

These validations there were in product previously (in case they are to be used as an example in validations in customers):

Description

Class/Interface

Description

Class/Interface

VALIDATION DATE OF ISSUANCE OF SENDER INVOICE

/EDGE/CL_VALIDACION_SII_FEC_EM

VALIDATION REQUIRED FIELDS

/EDGE/CL_VALIDACION_SII_CAMPOS

VALIDATION CURRENT YEAR

/EDGE/CL_VALIDACION_SII_EJERC

VALIDATION CURRENT PERIOD

/EDGE/CL_VALIDACION_SII_PERIOD

SENDER NIF VALIDATION

/EDGE/CL_VALIDACION_SII_NIF_EM

VALIDATION OF GROUPED INVOICES EXCLUSIVELY FOR F3

/EDGE/CL_VALIDACION_SII_AGRUPA

VALIDATION OF CORRECTED INVOICES R1/R2/R3/R3/R4/R5

/EDGE/CL_VALIDACION_SII_RECTIF

VALIDATION DATE OF OPERATION

/EDGE/CL_VALIDACION_SII_FEC_OP

VALIDATION OF SPECIAL REGIMES

/EDGE/CL_VALIDACION_SII_REG_ES

VALIDATION OF THE TAX BASE AT COST - REGIME 06

/EDGE/CL_VALIDACION_SII_B_IMPO

COUPON VALIDATION - INVOICE TYPE = R5/F4/R1

/EDGE/CL_VALIDACION_SII_CUPON

TAX RATE VALIDATION: 0%, 4%, 10% AND 21%

/EDGE/CL_VALIDACION_SII_TIP_IM

VALIDATION SURCHARGE EQUIVALENT: 5.2% 1.4% 0.5% 0.

/EDGE/CL_VALIDACION_SII_TIP_RE

VALIDATION SERIAL NUMBER SENDER INVOICE SUMMARY EN

/EDGE/CL_VALIDACION_SII_NUM_EM

COUNTRY CODE VALIDATION

/EDGE/CL_VALIDACION_SII_COD_PA

VALIDATION FOR TYPE OF RECTIFICATION

/EDGE/CL_VALIDACION_SII_TYP_RE

VALIDATION DATE OF ACCOUNTING RECORD

/EDGE/CL_VALIDACION_SII_FEC_RE

VALIDATION FOR RECEIVABLES OVER ISSUED

/EDGE/CL_VALIDACION_SII_COBROS

VALIDATION FOR PAYMENTS ON RECEIPTS

/EDGE/CL_VALIDACION_SII_PAGOS

 

Avvale 2024