Method EinvoiceParty():setAddress() Professional

Sets the postal address of the party (BT-5/BG-8).

Syntax
:setAddress( <xAddress> ) --> self
Parameters
<xAddress>
The postal address, specified either as an EinvoiceAddress() object or as a DataObject with the corresponding members. If NIL is passed, an empty address is assigned.
Return

This method returns self.

Description

Assigns the postal address of the party (BG-5 for the seller, BG-8 for the buyer, BG-15 for the deliver-to party). The value passed is normalized via EinvoiceAddress():from(). The address is mandatory and must contain at least the country code.

The country codes of the seller and the buyer are used by EinvFactory() to determine the scenario of the invoice.

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.