Submission Message Data Variations – Issued Invoices Register

This section discusses how to handle submission of message data variations related to Issued Invoices Register

Examples for invoices issued to domestic and intra-EU customers are as follows. Only detail sections of the messages are discussed here.

Invoices Issued to Domestic Customers

Here are the details of the invoices issued to Domestic Customers:
</sii:IDEmisorFactura> 
               <sii:NumSerieFacturaEmisor>ES AR 2016 LE INV-
2</sii:NumSerieFacturaEmisor> 
               <sii:FechaExpedicionFacturaEmisor>16-01-
2016</sii:FechaExpedicionFacturaEmisor> 
            </siiLR:IDFactura> 
            <siiLR:FacturaExpedida> 
               <sii:TipoFactura>F1</sii:TipoFactura> 
               
<sii:ClaveRegimenEspecialOTrascendencia>07</sii:ClaveRegimenEspecialOT rascendencia> 
               <sii:ImporteTotal>139.2</sii:ImporteTotal> 
               
<sii:DescripcionOperacion/>TEST1<sii:DescripcionOperacion/> 
               
<sii:ImporteTransmisionSujetoAIVA>0</sii:ImporteTransmisionSujetoAIVA> 
               <sii:Contraparte> 
                  <sii:NombreRazon>Cinco Dias</sii:NombreRazon> 
                  <sii:NIF>Q0467001D</sii:NIF> 
               </sii:Contraparte> 
               <sii:TipoDesglose> 
                  <sii:DesgloseFactura> 
                     <sii:Sujeta> 
                        <sii:NoExenta> 
                           <sii:TipoNoExenta>S1</sii:TipoNoExenta> 
                           <sii:DesgloseIVA> 
                              <sii:DetalleIVA> 
                                 
<sii:TipoImpositivo>16</sii:TipoImpositivo> 
                                 
<sii:BaseImponible>120</sii:BaseImponible> 
                                 
<sii:CuotaRepercutida>19.2</sii:CuotaRepercutida> 
                              </sii:DetalleIVA> 
                           </sii:DesgloseIVA> 
                        </sii:NoExenta> 
                     </sii:Sujeta> 
                  </sii:DesgloseFactura> 
               </sii:TipoDesglose> 
            </siiLR:FacturaExpedida> 

Invoices Issued to Intra-EU Customers

Here are the details of the invoices issued to Intra EU Customers:
</sii:IDEmisorFactura> 
               <sii:NumSerieFacturaEmisor>ES AR 2016 LE INV-
14</sii:NumSerieFacturaEmisor> 
               <sii:FechaExpedicionFacturaEmisor>28-01-
2016</sii:FechaExpedicionFacturaEmisor> 
            </siiLR:IDFactura> 
            <siiLR:FacturaExpedida> 
               <sii:TipoFactura>F1</sii:TipoFactura> 
               
<sii:ClaveRegimenEspecialOTrascendencia>01</sii:ClaveRegimenEspecialOT rascendencia> 
               <sii:ImporteTotal>1250</sii:ImporteTotal> 
               
<sii:DescripcionOperacion/>TEST1<sii:DescripcionOperacion/> 
               
<sii:ImporteTransmisionSujetoAIVA>0</sii:ImporteTransmisionSujetoAIVA> 
               <sii:Contraparte> 
                  <sii:NombreRazon>ES EU Customer</sii:NombreRazon> 
                  <sii:IDOtro> 
                     <sii:CodigoPais>GB</sii:CodigoPais> 
                     <sii:IDType>02</sii:IDType> 
                     <sii:ID>GB12345678R</sii:ID> 
                  </sii:IDOtro> 
               </sii:Contraparte> 
               <sii:TipoDesglose> 
                  <sii:DesgloseTipoOperacion> 
                     <sii:Entrega> 
                        <sii:Sujeta> 
                           <sii:NoExenta> 
                              <sii:TipoNoExenta>S2</sii:TipoNoExenta> 
                              <sii:DesgloseIVA> 
                                 <sii:DetalleIVA> 
                                    
<sii:TipoImpositivo>0</sii:TipoImpositivo> 
                                    
<sii:BaseImponible>1250</sii:BaseImponible> 
                                    
<sii:CuotaRepercutida>0</sii:CuotaRepercutida> 
                                 </sii:DetalleIVA> 
                              </sii:DesgloseIVA> 
                           </sii:NoExenta> 
                        </sii:Sujeta> 
                     </sii:Entrega> 
                  </sii:DesgloseTipoOperacion> 
               </sii:TipoDesglose> 
            </siiLR:FacturaExpedida> 

Rectification Transactions

You can have these cases:

Create a Credit Memo and mark it as R1 to R5 (Document Fiscal Classification). Type of Rectification are tagged as 'I', that’s, by difference.

Otherwise, if you create a rectification invoice and mark it as R1 to R5 (Document Fiscal Classification), then the type of Rectification is tagged as 'S'.

Rectification transactions are as follows:
</sii:IDEmisorFactura> 
               <sii:NumSerieFacturaEmisor>ES AR 2016 LE INV-
15</sii:NumSerieFacturaEmisor> 
               <sii:FechaExpedicionFacturaEmisor>29-01-
2016</sii:FechaExpedicionFacturaEmisor> 
            </siiLR:IDFactura> 
            <siiLR:FacturaExpedida> 
               <sii:TipoFactura>R1</sii:TipoFactura> 
               <sii:TipoRectificativa>S</sii:TipoRectificativa> 
               <sii:IDFacturaRectificada> 
                  <sii:NumSerieFacturaEmisor>ES AR 2016 LE INV-
2</sii:NumSerieFacturaEmisor> 
                  <sii:FechaExpedicionFacturaEmisor>16-01-
2016</sii:FechaExpedicionFacturaEmisor> 
               </sii:IDFacturaRectificada> 
               <sii:ImporteRectificacion> 
                  <sii:BaseRectificada>120</sii:BaseRectificada> 
                  <sii:CuotaRectificada>19.2</sii:CuotaRectificada> 
               </sii:ImporteRectificacion> 
               
<sii:ClaveRegimenEspecialOTrascendencia>01</sii:ClaveRegimenEspecialOT rascendencia> 
               <sii:ImporteTotal>161.47</sii:ImporteTotal> 
               
<sii:DescripcionOperacion/>TEST1<sii:DescripcionOperacion/> 
               
<sii:ImporteTransmisionSujetoAIVA>0</sii:ImporteTransmisionSujetoAIVA> 
               <sii:Contraparte> 
                  <sii:NombreRazon>Cinco Dias</sii:NombreRazon> 
                  <sii:NIF>Q0467001D</sii:NIF> 
               </sii:Contraparte> 
               <sii:TipoDesglose/> 
            </siiLR:FacturaExpedida> 
         </siiLR:RegistroLRFacturasEmitidas> 
      </siiLR:SuministroLRFacturasEmitidas> 

Transactions with Tax Exemptions

A sample output showing the amount with exemption and the exemption reason. ES-SE-Customer1 has an exemption defined as shown in Receivables Setup.

You can also see the transaction in Rectification Invoices as follows:
</sii:IDEmisorFactura> 
               <sii:NumSerieFacturaEmisor>ES AR 2016 LE INV-
23</sii:NumSerieFacturaEmisor> 
               <sii:FechaExpedicionFacturaEmisor>05-04-
2016</sii:FechaExpedicionFacturaEmisor> 
            </siiLR:IDFactura> 
            <siiLR:FacturaExpedida> 
               <sii:TipoFactura>F1</sii:TipoFactura> 
               
<sii:ClaveRegimenEspecialOTrascendencia>01</sii:ClaveRegimenEspecialOT rascendencia> 
               <sii:ImporteTotal>128.13</sii:ImporteTotal> 
               
<sii:DescripcionOperacion/>A123<sii:DescripcionOperacion/> 
               
<sii:ImporteTransmisionSujetoAIVA>0</sii:ImporteTransmisionSujetoAIVA> 
               <sii:Contraparte> 
                  <sii:NombreRazon>ES-SE-Customer1</sii:NombreRazon> 
                  <sii:NIF>12345698B</sii:NIF> 
               </sii:Contraparte> 
               <sii:TipoDesglose> 
                  <sii:DesgloseFactura> 
                     <sii:Sujeta> 
                        <sii:Exenta> 
                           
<sii:CausaExencion>Education</sii:CausaExencion> 
                           <sii:BaseImponible>112</sii:BaseImponible> 
                        </sii:Exenta> 
                     </sii:Sujeta> 
                  </sii:DesgloseFactura> 
               </sii:TipoDesglose> 
            </siiLR:FacturaExpedida> 

Invoices having MORE than One Special Regime Classifications

Starting from v0.7, you can report more than one special regime specifications for your transactions. Allowed number of maximum special regimes is 3.

A sample output showing how the additional special regime specifications is as follows:
<siiLR:IDFactura> 
               <sii:IDEmisorFactura> 
                  <sii:NIF>SYS12122</sii:NIF> 
               </sii:IDEmisorFactura> 
               <sii:NumSerieFacturaEmisor>ES AR 2017 LE INV-
15027</sii:NumSerieFacturaEmisor> 
               <sii:FechaExpedicionFacturaEmisor>21-02-
2017</sii:FechaExpedicionFacturaEmisor> 
            </siiLR:IDFactura> 
            <siiLR:FacturaExpedida> 
               <sii:TipoFactura>F1</sii:TipoFactura> 
               
<sii:ClaveRegimenEspecialOTrascendencia>01</sii:ClaveRegimenEspecialOT rascendencia>                
<sii:ClaveRegimenEspecialOTrascendenciaAdicional1>02</sii:ClaveRegimen
EspecialOTrascendenciaAdicional1> 
               
<sii:ClaveRegimenEspecialOTrascendenciaAdicional2>05</sii:ClaveRegimen
EspecialOTrascendenciaAdicional2> 
               <sii:ImporteTotal>12100</sii:ImporteTotal> 
               <sii:DescripcionOperacion>OVS_V7_AR_03 line 
1</sii:DescripcionOperacion> 
               
<sii:ImporteTransmisionSujetoAIVA>0</sii:ImporteTransmisionSujetoAIVA> 
               <sii:Contraparte> 
                  <sii:NombreRazon>Cinco Dias</sii:NombreRazon> 
                  <sii:NIF>Q0467001D</sii:NIF> 
               </sii:Contraparte> 
               <sii:TipoDesglose> 
                  <sii:DesgloseFactura> 
                     <sii:Sujeta> 
                        <sii:NoExenta> 
                           <sii:TipoNoExenta>S1</sii:TipoNoExenta> 
                           <sii:DesgloseIVA> 
                              <sii:DetalleIVA> 
                                 
<sii:TipoImpositivo>21</sii:TipoImpositivo> 
                                 
<sii:BaseImponible>10000</sii:BaseImponible> 
                                 
<sii:CuotaRepercutida>2100</sii:CuotaRepercutida> 
                              </sii:DetalleIVA> 
                           </sii:DesgloseIVA> 
                        </sii:NoExenta> 
                     </sii:Sujeta> 
                  </sii:DesgloseFactura> 

Invoices having Lines that are Grouped under BOTH S1 and S2

Starting from v0.7, you can report your transactions with both S1 and S2 type. S3 block is created.

A sample output showing S3 block is as follows:

Transaction has 2 lines, one with 21% rate and the other with 0% rate.
</siiLR:IDFactura> 
            <siiLR:FacturaExpedida> 
               <sii:TipoFactura>F1</sii:TipoFactura> 
               
<sii:ClaveRegimenEspecialOTrascendencia>01</sii:ClaveRegimenEspecialOT rascendencia> 
               <sii:ClaveRegimenEspecialOTrascendenciaAdicional1/> 
               <sii:ClaveRegimenEspecialOTrascendenciaAdicional2/> 
               <sii:ImporteTotal>3210</sii:ImporteTotal> 
               <sii:DescripcionOperacion>First line</sii:DescripcionOperacion> 
               
<sii:ImporteTransmisionSujetoAIVA>0</sii:ImporteTransmisionSujetoAIVA> 
               <sii:Contraparte> 
                  <sii:NombreRazon>Cinco Dias</sii:NombreRazon> 
                  <sii:NIF>Q0467001D</sii:NIF> 
               </sii:Contraparte> 
               <sii:TipoDesglose> 
                  <sii:DesgloseFactura> 
                     <sii:Sujeta> 
                        <sii:NoExenta> 
                           <sii:TipoNoExenta>S3</sii:TipoNoExenta> 
                           <sii:DesgloseIVA> 
                              <sii:DetalleIVA> 
                                 
<sii:TipoImpositivo>21</sii:TipoImpositivo>                                  
<sii:BaseImponible>1000</sii:BaseImponible> 
                                 
<sii:CuotaRepercutida>210</sii:CuotaRepercutida> 
                              </sii:DetalleIVA> 
                              <sii:DetalleIVA> 
                                 
<sii:TipoImpositivo>0</sii:TipoImpositivo> 
                                 
<sii:BaseImponible>2000</sii:BaseImponible> 
                                 
<sii:CuotaRepercutida>0</sii:CuotaRepercutida> 
                              </sii:DetalleIVA> 
                           </sii:DesgloseIVA> 
                        </sii:NoExenta> 
                     </sii:Sujeta> 
                  </sii:DesgloseFactura> 

Invoices for Customers Outside of EU

Transactions for foreign customers are represented with the ID Value for the corresponding ID type. ID type is ‘Passport Number’ for the customer in this example.
<sii:Contraparte> 
                  <sii:NombreRazon>James Rodriguez</sii:NombreRazon> 
                  <sii:IDOtro> 
                     <sii:CodigoPais>MX</sii:CodigoPais> 
                     <sii:IDType>03</sii:IDType> 
                     <sii:ID>R11225588</sii:ID> 
                  </sii:IDOtro> 
               </sii:Contraparte> 

Summary Invoices – Type F4

If your invoice is of type F4, you’re expected to enter the last invoice number in the GDF field. The invoice number is used as the first invoice number for the summary invoice. Here’s an example:
<sii:NumSerieFacturaEmisor>AR030</sii:NumSerieFacturaEmisor> 
               
<sii:NumSerieFacturaEmisorResumenFin>AR039</sii:NumSerieFacturaEmisorR esumenFin> 
               <sii:FechaExpedicionFacturaEmisor>25-02-
2016</sii:FechaExpedicionFacturaEmisor> 
            </siiLR:IDFactura> 
            <siiLR:FacturaExpedida> 
               <sii:TipoFactura>F4</sii:TipoFactura> 

You can also refer to the Customers section.

Invoices with Special Regime Classification ‘06’ and Tax Amount 0.00

Payables and Receivables invoices with the global descriptive flexfield Special Regime = 06, that have several invoice lines and some invoice lines with tax amount 0.00 and other invoice lines with tax amount >0.00 are reported to show only lines that have tax amount >0.00.

Issued Invoices Register and Received Invoices Register report only invoice lines that have tax amount >0.00.

Issued invoices register example:

<sii:ImporteTotal>1260.00</sii:ImporteTotal>    
<sii:BaseImponibleACoste>1000.00</sii:BaseImponibleACoste> 
Note: The invoice line amount of 50.00 that has 0% VAT isn’t included in BaseImponibleACoste 
Received invoice register example: 
<sii:ImporteTotal>1444.00</sii:ImporteTotal> <sii:BaseImponibleACoste>1000.00</sii:BaseImponibleACoste> 
Note: The invoice line amount of 234.00 that has 0% VAT isn’t included in BaseImponibleACoste