Method AbstractEinvoice():setTypeCode() Professional

Sets the invoice type code (BT-3).

Syntax
:setTypeCode( <cTypeCode> ) --> self
Parameters
<cTypeCode>
An invoice type code as defined in UNTDID 1001. Use one of the EINV_TYPE_* constants defined in einvoice-codes.ch.
Return

This method returns self.

Description

Assigns the invoice type code (BT-3) which identifies the type of the document, for example a commercial invoice, a credit note or a corrected invoice. The method :init() sets the type code to EINV_TYPE_COMMERCIAL unless a different type code is specified.

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.