Hello Daniela,
Are you saying that the account postings were the same when you created a billing document with sales doc category = M and O?
The second billing document (with sales doc cat. = O) was created for the return process (with H, T, O as sales doc categories respectively for sales doc type, delivery type, billing type).
From my understanding the signs (+, -) or debit / credit in the accounting document happens due to the sales document category of the billing type.
IVANO RAIMONDI , G Lakshmipathi could you please comment on the below question -
Is there something else which can determine the correct values or the document category makes all the difference?
It is more about the "the signs (+, -) or debit / credit in the accounting document"
(and not so much the finding and posting in respective G/L accounts)
Thank you!