Method EinvoiceLineItem():setGrossPrice() Professional
Sets the gross unit price (BT-148).
:setGrossPrice( <xValue> ) --> self
This method returns self.
Assigns the gross price of the item (BT-148), which is the unit price before the price discount is deducted. If NIL is passed, the gross price is cleared.
The gross price is optional. If a gross price is set, it must not be lower than the net price. AbstractEinvoice():validate() reports an error for rule BR-28 otherwise. The difference between the gross price and the net price is reported as the item price discount (BT-147).
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.