Method EinvoiceParty():setElectronicAddress() Professional
Sets the electronic address of the party (BT-34/BT-49).
:setElectronicAddress( <cValue>, [<cScheme>] ) --> self
This method returns self.
Assigns the electronic address of the party (BT-34 for the seller, BT-49 for the buyer) together with its scheme. If <cScheme> is omitted and <cValue>contains the character "@", the CEF Electronic Address Scheme "EM" (e-mail) is used. Otherwise, no scheme is assigned. Passing NIL for <cValue> removes the electronic address.
For XRechnung invoices, the electronic addresses of the seller and the buyer are mandatory. The validation performed by the internal XRechnung serializer reports rule PEPPOL-EN16931-R020 for the seller and rule PEPPOL-EN16931-R010 for the buyer if the address or its scheme is missing. If no electronic address is available for a buyer, an address can be derived from other data, for example from a customer number.
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.