Ansicht
Dokumentation

EDOC_TW_FILL_DATA - Complete Invoice and Allowance XML Files

EDOC_TW_FILL_DATA - Complete Invoice and Allowance XML Files

Fill RESBD Structure from EBP Component Structure   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in eDocument for Taiwan. You can use this BAdI to fill fields in invoice and allowance XML files. According to the tax authority, some fields are required in an invoice or allowance XML file, while others are optional. You can create your own logic for filling fields so that the generated XML files are complete and meet the requirements from both the tax authority and your business.

The BAdI provides the following parameters for different types of invoices and allowances:

Business-to-Business Invoice (A0401)
Structure edoc_tw_header_filled
  • attachment
  • buyer_customer_number
  • seller_customer_number
  • seller_name
  • seller_address
Table edoc_tw_invoice_item_filled
  • unit
  • quantity
  • unit_price
  • description
  • amount
  • sequence_number
  • remark
  • relate_number
Business-to-Consumer Invoice (C0401)
Structure edoc_tw_header_filled
  • attachment
  • buyer_customer_number
  • seller_customer_number
  • print_mark
  • invoice_type
  • random_number
  • seller_name
  • seller_address
Table edoc_tw_invoice_item_filled
  • unit
  • quantity
  • unit_price
  • description
  • amount
  • sequence_number
  • remark
  • relate_number
Business-to-Business Allowance (B0401)
Structure edoc_tw_header_filled
  • attachment
  • buyer_customer_number
  • seller_customer_number
  • seller_name
  • seller_address
Table edoc_ edoc_tw_allowance_item_filled
  • unit
  • quantity
  • unit_price
  • original_description
  • tax
  • allowance_sequence_number
  • tax_type
  • original_invoice_date
  • original_invoice_number
  • original_sequence_number
Business-to-Consumer Allowance (D0401)
Structure edoc_tw_header_filled
  • attachment
  • buyer_customer_number
  • seller_customer_number
  • seller_name
  • seller_address
Table edoc_ edoc_tw_allowance_item_filled
  • unit
  • quantity
  • unit_price
  • original_description
  • tax
  • allowance_sequence_number
  • tax_type
  • original_invoice_date
  • original_invoice_number
  • original_sequence_number
Business-to-Business Cancelation Invoice (A0501)
Structure edoc_tw_header_filled
  • remark
  • cancel_reason
Business-to-Consumer Cancelation Invoice (C0501)
Structure edoc_tw_header_filled
  • remark
  • cancel_reason
Business-to-Business Cancelation Allowance (B0501)
Structure edoc_tw_header_filled
  • remark
Business-to-Consumer Cancelation Allowance (D0501)
Structure edoc_tw_header_filled
  • remark
Business-to-Business Invoice Generated in Exchange Mode (A0101)
Structure edoc_tw_header_filled
  • attachment
  • buyer_customer_number
  • seller_customer_number
  • seller_name
  • seller_address
Table edoc_tw_invoice_item_filled
  • unit
  • quantity
  • unit_price
  • description
  • amount
  • sequence_number
  • remark
  • relate_number
Business-to-Business Allowance Generated in Exchange Mode (B0101)
Structure edoc_tw_header_filled
  • attachment
  • buyer_customer_number
  • seller_customer_number
  • seller_name
  • seller_address
Table edoc_ edoc_tw_allowance_item_filled
  • unit
  • quantity
  • unit_price
  • original_description
  • tax
  • allowance_sequence_number
  • tax_type
  • original_invoice_date
  • original_invoice_number
  • original_sequence_number





CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 6677 Date: 20240523 Time: 181909     sap01-206 ( 51 ms )