Solution : https://service.sap.com/sap/support/notes/1318938 (SAP Service marketplace login required)
Summary :
When using BAPIs such as BAPI_ACC_DOCUMENT_POST and providing tax data in specific interface tables like ACCOUNTTAX, users should be aware that in the AC_DOCUMENT_CREATE function, such tables (e.g., T_ACCTX) may not contain the data. Instead, tax data are included within the T_ACCIT table marked with TAXIT = 'X'. This is notably pertinent under the document compression scenario guided by SAP notes 36353 and 643273, where tax details get summarized alongside financial documents, and only this summarized output feeds into external tax systems.
Key words :
prerequisites program feature solution, accounting interface function ac_document_create, separate interface table t_acctx, separate interface table, interface table t_accit, external tax system, detailed tax data, taxit = 'x', fi documents, summarized data
Related Notes :
1608395 | IT_ACCTX not available in enhancement ACBAPI01 |
1538291 | BAPI_ACC_DOCUMENT_POST: Incorrect assignment of tax data |
1241247 | BAPI does not update External Tax System |
643273 | FB01: Summarization BSET with "Determine taxes line-by-line" |
626235 | Tax postings with accounting BAPIs |
36353 | AC interface: Summarizing FI documents |