Field help (CODNUMCPY2) 

This field is only displayed for return types for which the category is Normal or For subcontract.
This field is used to indicate a specific sequence number counter for inter-company returns.
It is thus necessary to have defined a sequence number counter beforehand in the Sequence numbers table (that can be accessed using a tunnel from this field).
SEEINFO It is possible to assign the same sequence number counter to inter-site returns and inter-companies returns.

When the counter is used for the Portuguese legislation, the sequential number is applied to the document when it is subject to the electronic signature and SAFT-PT (Standard Audit File - Tax) payment processes. The parameter entitled PORDKS-Electronic signature Portugal(LOC chapter, POR group) must be set to: Yes, and the DKS-Electronic signature must be active.
The counter must have the following structure:

Between the first and the penultimate component, the complement can be used as an option. Although, the complement is mandatory for purchase auto-invoices. If the structure is not properly defined, a blocking error will occur once the document is validated or signed.