!--a11y-->
Use
The invoice IDoc can be used for EDI communication and for the ALE scenario Stock Transfers Between Distributed Systems.
Features
An E1J3P01 segment is created in the IDoc for each SKU in the invoice. The net and gross prices are always calculated at SKU level and are independent of the billing type (billing at SKU level or item level).
Two billing types can be used in the application:
Billing at SKU Level
If charges or discounts are defined at document item level, they are valid for all the affected SKUs. If this is the case, the charges are distributed among the SKUs.

One document item with two SKUs, SKU 1 with a quantity of 5 and a net value USD 50, and SKU 2 with a quantity of 10 and a net value of USD150. The net value at item level is USD20.
This results in a net value of USD56.67 for SKU 1 and USD163.33 for SKU 2.
Billing at Item Level
In this case, the IDoc also contains SKU net values.

A document item with two SKUs, SKU 1 with a quantity of 5, and SKU 2 with a quantity of 10.
If the prices and charges are defined at item level and the net value at item level is USD150, the result in the IDoc is a net value of USD50 for SKU 1 and USD100 for SKU 2.
Handling SKUs
If the material is an AFS material, VAS data is also sent to each SKU.
Handling Categories
If the Stock Transfer Between Distributed Systems scenario is used, requirement and stock category data is sent to each SKU.
AFS Restrictions
AFS only supports logistical invoice verification. Other scenarios that include FI invoices are not supported by AFS.