Ansicht
Dokumentation

FIESSII_OUTG_INVC_CH - Change Outgoing Invoice Details

FIESSII_OUTG_INVC_CH - Change Outgoing Invoice Details

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in Financeto send tax data to the tax agency in Spain using the Immediate Supply of Information System (SII).

You can use this BAdI for the following purposes:

  • To change the way the system fills the following tags:
  • : In the SAP standard system the tag of the file you send to the tax agency for outgoing invoices is filled with the description of the document type plus the document header text. You can use this BAdI to fill the above mentioned tag with another description by filling the parameter SII Invoice Subject (INVOICEHEADERTEXT)

  • : In case of sales of business properties, you can use this method to fill this tag. In this case, make sure that the parameter SII Real Estate Amount (REALESTATESALESAMOUNT) is filled.

  • : You can also use this BAdI to fill this tag. In this case, make sure that the parameter SII Billing Register (BILLINGREGISTER) is filled.

  • <NumSerieFacturaEmisor> and <FechaExpedicionFacturaEmisor>: You can use this BAdI to fill these tags for correction invoices (facturas rectificativas).

  • : You can also use this BAdI to fill this tag. In this case, make sure that the parameter SII Indicator for Discount Cupons (HASCOUPON) is filled.

  • To include the real estate information in the XML by filling the parameter SII Real Estate Details Table (REALESTATEDETAILSTABLE).
  • Building location (): You must indicate one of the following values in the parameter SII Location of the Property (REALESTATEDETAILSTABLE- -PROPERTYLOCATION):

1: Spain, except Basque Country and Navarra, with Cadastral Ref
2: Basque Country and Navarra, with Cadastral Reference
3: Spain, without Cadastral Reference
4: Abroad
  • Reference (): You have to indicate the cadastral number of your location in the parameter SII Cadastral Reference (REALESTATEDETAILSTABLE-CADASTREREFERENCE).

  • To fill the new tags introduced by version 1.1 from the tax agency. Note the following:
  • For the tag , you use parameter UNIDENTIFIEDINVOICE. Allowed values: S or N.

  • For the tag , you use parameter SIMPLIFIEDINVOICE. Allowed values: S or N.

  • For the tag , you use parameter GASMARKETBILLING. Allowed values: S or N.

  • For the tag , you use parameter SUCCEEDEDCOMPANYNAME. Allowed values: Up to 120 characters.

  • For the tag , you use parameter SUCCEEDEDCOMPANYNIF. Allowed values: 9 characters.

The following example implementations are available:

Spanish SII Outgoing Invoice Change Example Class(CL_EX_FIESSII_OUTG_INVC_CHANGE)






General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 5092 Date: 20240523 Time: 202233     sap01-206 ( 60 ms )