/
2.1.6.6.2. Validations Types

2.1.6.6.2. Validations Types

  • Date Issue Invoice

The field "Date Issue Invoice" (Document date according to default mapping) can not be greater than the current date.
Valid for Invoices Issued and Invoices Received.
 


  • Required fields

The mandatory fields marked by the AEAT will be validated and in case of not being informed will emerge a validation message.
Valid for all Books.


 
 

  • Fiscal Year

Invoices Issued: if the Special Scheme Key is 14 or 15 the fiscal year may be higher than the current one.
Invoices Received: If the Date of Operation (Tax Return Date) is greater than the System Date, the fiscal year may be higher than the current one.
Rest of Record Books: can not be higher than the current year.

   


  • Period

Invoices Issued: if the Special Regime Code is 14 or 15 the period may be higher than the current one.
Invoices Received: If the Transaction Date (Tax Return Date) is greater than the System Date, the period may be higher than the current date.
Intra-Community Operations: can not be higher than the current period.
Investment Goods / Cash Collection / Insurance Opportunities / Travel Agencies = 0A


   

  • Issuer NIF

Issued Invoice: the NIF of the holder of the registration must be the same as the issuer. (The default system does this mapping)
Invoices Received: The issuer's FRS must be the same as the counterparty except in the DUA. (The default system does this mapping, in case of DUA the sender is the same as the owner).

  • Grouped Invoices

Issued Invoices and Invoices Received: The Billing Block can be filled only if the invoice type is equal to F3-Invoice issued instead of invoiced and declared simplified invoices.

  • Rectified Invoices

The Type of Rectification field must be filled in only if the Invoice Type field is Rectification.
Valid for Invoices Received and Issued. 
 

  • Date of transaction

Invoices Issued: if the Special Scheme Key is 14 or 15 the fiscal year may be higher than the current one.
Valid for Invoices Received and Issued.
 

  • Special regimes

The possible combinations of several regimes are as follows:

  • If the special regime key is 07, the regimes 01, 03, 05, 12 can be further reported
  • If the special regime key is 05, the regimes 01, 12 can be further reported.
  • If the special regime key is 06, the regimes 12 can be further reported.
  • If the special regime key is 12, the regimes 08 can be further reported.

Valid for Invoices Received and Issued.


  • Tax base at cost

The field Taxable base at cost can only be filled when the rate is equal to 06.
Valid for Invoices Received and Issued.


  • Coupon Field

The Coupon field can only be filled when the invoice type is R1, R5 or F4.
Valid for Issued Invoices.


  • Tax rate

Only tax rates 0%, 4%, 10% and 21% are allowed.
Valid for Invoices Received and Issued.


  • Equivalence surcharge

Only tax rates are allowed 5.2% 1.4% 0.5% 1.75%.
Valid for Invoices Received and Issued.


  • Serial number invoice issuer summary fin

This field is required when invoice type = F4
Valid for Invoices Received and Issued.


  • Country Code 

Issued invoices:

  • If the ID Type is different from 02 it is mandatory to inform the Country Code.
  • If ID Type is equal to 07, the country code must be ES

 
Received Invoices:

  • If ID Type is other than 02 it is mandatory to enter the Country Code.
  • ID Type equal to 07 is not allowed

 
Intra-Community Operations:

  • The Country code field must be equal to 02 in Invoice ID and Counterpart.

 
 

  • Type of amendment

The Type of Amending field can only be filled if the invoice is Amending.
Valid for Invoices Received and Issued.


  • Accounting record date

The Date field of the accounting record must be equal to or greater than the field Date Issue Invoice
Valid for Invoices Received and Issued.


  • Charges over emitted

Only 03 can be entered when the collection / payment date is 31/12 of the year following the date of operation.
If the Medium is equal to 03 the field Account or Medium must go empty.


  • Receipt payments

Only 03 can be entered when the collection/payment date is 31/12 of the year following the date of operation.
If the Medium is equal to 03 the field Account or Medium must go empty.

Avvale 2024