When registering the bill payable, it is important to enter the following fields: Taxes - Generate DIRF (E2_DIRF)
- Withholding Cd (E2_CODRET)
How the bills must be saved once the TXs have been generated: Invoice Bill (ORIGINAL Bill) Field “Generate DIRF for this bill?” (E2_DIRF) must be set to 2 - No. The field Withholding Code (E2_CODRET) must be filled out. The field Tax Parent Bill (E2_TITPAI) must be blank.
TX Bill (Tax Bill) Field “Generate DIRF for this bill?” (E2_DIRF) must be set to 1 - Yes. The field Withholding Code (E2_CODRET) must be filled out. The field "Tax Parent Bill" (E2_TITPAI) must be filled out with data from the parent bill (prefix+number+ installment+type+supplier+store). |