when you select per posting group, you “should” fill the document number,
only when you select per “item ledger entry” the system will use the invoice’s number
when you select per posting group, you “should” fill the document number,
only when you select per “item ledger entry” the system will use the invoice’s number