This routine was adjusted to comply with the General Personal Data Protection Law (Statute No. 13,709), so that some fields containing data regarded as sensitive and/or personal are blurred, becoming illegible. |
The purpose of the Settlement routine (FINA565) is to enable the bill negotiation and renegotiation process.
The process generates bills to which it attributes a number sequentially generated by parameter MV_NUMLIQP. This information is recorded in field E2_NUMLIQ. You must manually enter data pertaining prefix, number, installment and type.
|
The settlement routine (FINA565) disregards the IRRF value for calculation when it is configured to be withheld at bill posting (A2_CALCIRRF = 2) and has PCC calculation when bills are issued. (MV_BX10925)
Add two bills with Nature and Supplier that calculate PCC at issue and IRRF at posting. 1 Bill SE2-> VALUE := 5,000.00 SE2-> IRRF := 75.00 Do not generate PCC because the minimum value was not reached. (MV_VL10925) 2 Bill SE2-> VALUE := 4,535.00 SE2-> IRRF := 75.00 SE2->E2_PIS := 65.00 SE2->E2_CSLL := 100.00 SE2->E2_COFINS := 300.00 Settle bills of type Invoice. Bill values are added reaching the sum total of BRL 9,535.00 because PCC bills were generated at issue, their values being deducted. Generating a new bill, and bills 1 and 2 are posted. Post the new bill generated. 3 Bill SE2->E2_VALOR := 9,535.00 SE2-> IRRF := 143.02 Value Paid := 9,391.98 Note: The IRRF value is calculated based on the value of generated bill 9,535.00. |
You can book bills generated by this routine through standard entry:
You can book bills used in the settlement through standard entry:
In this case, the posting reason used for identifying bills posted by settlement must be LIQ.