Method EinvoiceParty():setContact() Professional

Sets the contact point of the party (BT-6/BG-9)).

Syntax
:setContact( [<cName>], [<cPhone>], [<cEmail>] ) --> self
Parameters
<cName>
The name of the contact person or department. This defaults to NIL, meaning no contact name is set.
<cPhone>
The telephone number of the contact. This defaults to NIL, meaning no telephone number is set.
<cEmail>
The e-mail address of the contact. This defaults to NIL, meaning no e-mail address is set.
Return

This method returns self.

Description

Assigns the contact point of the party (BG-6 for the seller, BG-9 for the buyer), consisting of a contact name, a telephone number and an e-mail address. Each call replaces the previous contact point, even if all parameters are NIL.

For XRechnung invoices, the contact point of the seller is mandatory. The validation performed by the internal XRechnung serializer reports rule BR-DE-2 if no contact point has been set, and the rules BR-DE-5, BR-DE-6 and BR-DE-7 if the name, the telephone number or the e-mail address is missing.

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.