SAP Note 140685 - INVOIC01: Invoice is posted as a credit memo

Component : Ext. Interfaces/BAPIs/ALE -

Solution : https://service.sap.com/sap/support/notes/140685 (SAP Service marketplace login required)

Summary :
In SAP's processing of the INVOIC01 IDOC type within FI modules, an issue arises when batches containing both invoices and credit memos follow the processing of an IDOC with a negative totals segment. This results in erroneous assignment of posting keys for G/L and tax line items, along with occasional incorrect document type determination. The error does not manifest when IDOCs are processed individually or through the test tool WE19. This issue applies to versions 3.0D to 4.5B, with various solutions and notes (75886, 122362) recommended depending on the release and hot package version.

Key words :
additional key words ale, account line items, tax line items, post idocs, type invoic01, credit memos, negative amount, totals segment, posting keys, incorrectly determined

Related Notes :

130772SAPLIEDI:Surchrgs or discnts;line items w/ amnt '0'
122362EDI-INVOIC: Document split/ processing credit memos