When the receipt line arises from an order line, the purchase type will come from the order line.
In the case of a direct receipt or where it is linked to an inter-site or inter-company, the purchase type will be initialized as a function of the tax posting associated with the GL account entered previously.
If the receipt line is the object of purchase invoice control, the purchase type will be transferred to the invoice line.