Method EinvoiceParty():setElectronicAddress() Professional

Sets the electronic address of the party (BT-34/BT-49).

Syntax
:setElectronicAddress( <cValue>, [<cScheme>] ) --> self
Parameters
<cValue>
The electronic address as a character string, or NIL to remove the electronic address.
<cScheme>
The scheme code as defined in the CEF Electronic Address Scheme (EAS) code list. This defaults to "EM" if <cValue> contains the character "@", and to NIL otherwise.
Return

This method returns self.

Description

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.

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.