The following parameters must be observed when the outbound document is saved concerning financial taxes:

The Parameter MV_RTIPESP (Character Type) has 06 positions, considering the following structure:

 


The configuration of parameter MV_RTIPESP is linked to parameter MV_RTIPFIN.

Each parameter position represents the apportionment of the respective tax, that is:

Example:

If parameter MV_RTIPFIN is configured as .T. and MV_RTIPESP as 000000 or 111111, in the outbound document, taxes are divided in all installments. If configured as 222222, taxes are included in the first installments.

When MV_RTIPFIN is configured as .F. and MV_RTIPESP as 000000 or 222222, in the outbound document, taxes are included in the first installment. If configured as 111111, taxes are included in the first installments.


The context of the parameters can be edit in all positions, for example:

Parameter MV_RTIPFIN  = .T.

Parameter MV_RTIPESP012021

Taxes levied:

ISS : in all installments

IRRF : in all installments

INSS: in the first installment

CSLL : in all installments

Cofins: in the first installment

PIS : in all installments


Parameter MV_RTIPFIN  = F

Parameter MV_RTIPESP = 012021

Taxes levied:

ISS: in the first installment

IRRF : in all installments

INSS: in the first installment

CSLL: in the first installment

Cofins: in the first installment

PIS : in all installments