Method EinvoiceLineItem():setGrossPrice() Professional

Sets the gross unit price (BT-148).

Syntax
:setGrossPrice( <xValue> ) --> self
Parameters
<xValue>
The gross price, specified as a numeric value, a character string or an EinvoiceDecimal object, or NIL to clear the gross price.
Return

This method returns self.

Description

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).

Feedback

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.