Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

In addition, the GET_SII_CABECERA method is modified to adjust the header mapping to the Canarian mapping.


Issued Invoices


Class /EDGE/CL_EDOC_SII_MAP_FE_L_11

  • GET_ESTRUCTURA_XML method: Call to the super->get_estructura_xml and me->get_estructura_xml_1_1 methods with the new parameter iv_canarias = iv_canarias.
  • Method GET_ESTRUCTURA_XML_1_1:

    1. Parameter iv_canarias is added in the signature of the method.

          2. The call to the method get_detalle_exenta is made with the new parameter importing iv_canarias.


Class /EDGE/CL_EDOC_SII_MAP_FE_L

  • Method GET_ESTRUCTURA_XML:

    1. When the non-exempt breakdown for Delivery, Service and Invoice Breakdown occurs, the following code is entered:

               gv_no_exenta = abap_true.
              IF iv_canarias EQ abap_true.
                
CONTINUE.
              ENDIF.


With this, when iv_canarias comes informed with X, the non-exempt breakdown will not be made. Thus we reduce the mapping of the AEAT since the labels of this block change with respect to the XML of the Canary Islands and this part of code cannot be reused. With the global variable gv_not_exempt = X we know during the execution that the breakdown is not exempt.

...

13. In order to determine whether an invoice is for self-consumption, a new BAdI of the Canary Islands is called if the mapping is Canarian. If it is still a peninsular mapping, the call to the BAdI to determine if it is self-consumption does not vary:


Class /EDGE/CL_EDOC_SII_MAP_FE_BL

  • Method get_id_invoice: In the call to the method /edge/cl_sii_utilities=>get_id_invoice the new parameter iv_canarias is added.


Class /EDGE/CL_EDOC_SII_MAP_FE_IL

  • Get_id_invoice method: The call to the get_id_invoice method is made with the new parameter iv_canarias. (Not applicable because the method is not used)

...

  • Issuer Invoice Serial Number
  • Description
  • External Ref
  • 2_7.3
  • Previous Rule GGEE or REDEME or Competition
  • Real Estate Data
  • Amount Transmission Real Estate
  • Issued By Third Parties Or Recipient
  • Third and Sixth Additional Disp Billing and Organized Gas Market
  • InvoiceWithoutIdentityRecipientArticle6.1.d
  • Entity Succeeded


ISU/FICA Issued

Class /EDGE/CL_SII_MAP_FICA_L_11

...