The fields PIS With. Code (E2_CODRPIS), Cof. With. Code (E2_CODRCOF) and CSL With. Code (E2_CODRCSL) enable you to make different codes of tax withholding flexible.
If the invoice to be added by Purchases or Financials modules withholds PIS, Cofins or CSLL taxes, and the fields PIS With. Code (E2_CODRPIS), Cof. With. Code (E2_CODRCOF) or Csl With. Code (E2_CODRCSL) are filled out, they are saved in the Parent trade note, discarding the codes pre-defined in the system:
For secondary taxes, the system register the retention codes in the field Withholding Code (E2_CODRET), as to new fields data, if created and filled in. When they are not filled in, the system also registers in the field E2_CODRET, however, it uses the same treatment for the trade note parent.
Examples
By adding a bill payable with PIS, Cofins or CSLL withholding, in which the fields PIS With. Code, Cof. With. Code and CSL With. Code are not filled out, you have:
Main value | $ 6,000.00 |
PIS | R$ 39.00 |
Cofins | R$ 180.00 |
CSLL | R$ 60.00 |
Withholding Code (E2_CODRET) | 5952 |
Main value | $ 6,000.00 |
PIS | R$ 39.00 |
Cofins | R$ 0.00 |
CSLL | R$ 0.00 |
Withholding Code (E2_CODRET) | “5979” |
Main value | $ 6,000.00 |
PIS | R$ 0.00 |
Cofins | R$ 180.00 |
CSLL | R$ 0.00 |
Withholding Code (E2_CODRET) | “5960” |
Main value | $ 6,000.00 |
PIS | R$ 0.00 |
Cofins | R$ 0.00 |
CSLL | R$ 60.00 |
Withholding Code (E2_CODRET) | “5987” |
By adding a bill payable, in which the fields PIS With. Code, Cof. With. Code and CSL With. Code are respectively filled out with 3770, 5960 and 5987, you have:
Main value | $ 6,000.00 |
PIS | R$ 39.00 |
Cofins | R$ 180.00 |
CSLL | R$ 60.00 |
Withholding Code (E2_CODRPIS) | 3770 |
Cofins With. Code (E2_CODRCOF) | 5960 |
CSLL With. Code (E2_CODRCSL) | 5987 |