In delivery, both free goods main item and sub item have batch split:
You maintain customizing setting for item category and copy control as “situation 3” of note 77414, so that both free goods main and sub item can be billed together.
The issue is that when you create billing, cost from all the batch sub items are cumulated to free goods maintain.
The correct cost for free goods main item should be 271,96 EUR
Item 10 in billing document is the free goods main item and item 11 is the free goods sub item.
Both free goods main and sub item have batch split item in delivery.
According to note 352441: "If the sub-item should be displayed in the billing document, the cost is not allowed to appear for this sub-item and (!) the main item, since otherwise it would be listed in duplicate in the structure of these items."
In this case, since both free goods main item and sub item are issued together in the billing document, so cost from all the batch sub items are cumulated to free goods main item.
You should avoid billing free goods main item and sub item together. There are several possible workarounds.
For example the pattern as below:
1, Display free goods main item, bill its batch sub item
2, Bill free goods sub item without its batch sub item
For free goods main item and its batch sub item, please configure corresponding customizing with reference to “Situation 2” from note 77414, as below:
Result in billing:
Item 10: Free goods main item
Item 20: Batch sub-item of free goods main item
Item 30: Free goods sub item