There seems to be some confusion about sales order items and what each price stored in the database means.
You can check stackoverflow and you'll see literally dozens of questions regarding this.
Would it be possible to add a clarification about them?
we understand base is the prices without any currency conversions on the default currency of the store
we understand that if the suffix incl_tax is in the item, it refers to including tax so we can understand if it's missing then the price is without tax.
However there's no explanation for example what the original price is, what the discount_tax_compensation_amount is or whether the price includes discount amounts or not.
There is no hint of documentation in the classes either to go by.
Is there an existing issue for this?
What's missing?
There seems to be some confusion about sales order items and what each price stored in the database means. You can check stackoverflow and you'll see literally dozens of questions regarding this.
Would it be possible to add a clarification about them?
E.g.
However there's no explanation for example what the original price is, what the discount_tax_compensation_amount is or whether the price includes discount amounts or not.
There is no hint of documentation in the classes either to go by.
\Magento\Sales\Api\Data\OrderItemInterface