01. OVERVIEW
Configuration is available for storing the Source and Target State of the transport in the CTE bookkeeping using fields F1_UFDESTR and F1_UFORITR on the incoming invoice.
- When the source State of the physical route of the goods is equal to the taxpayer's State (MV_ESTADO), the routine will record the target State.
- When the source State of the physical route of the goods is different from the taxpayer's State (MV_ESTADO), the routine will record the source State;
02. USAGE PROCEDURE
Parameter
Variable Name | MV_ESTADO |
---|
Type | Character |
Content | SP |
Description | Acronym of the state of the company using the System, to calculate the ICMS (7, 12 or 18%). |
03. Example of Use
Transport source State equal to Taxpayer (MV_ESTADO)
- When adding the incoming document type CTE, where the source State of the goods is the same as that of the Taxpayer (MV_ESTADO):
In the Additional Information tab, enter the source and target States of the goods.
![](/download/attachments/742225287/image2021-8-4_10-8-48.png?version=1&modificationDate=1677261020407&api=v2)
- In the tables responsible for the bookkeeping of the invoice, the data will be recorded as below:
![](/download/attachments/742225287/image2021-8-4_10-10-3.png?version=1&modificationDate=1677261020547&api=v2)
Transport source State other than Taxpayer's (MV_ESTADO)
- When adding the incoming document type CTE, where the source State of the goods is different from the taxpayer's State (MV_ESTADO):
In the Additional Information tab, enter the source and target States of the goods.
![](/download/attachments/742225287/image2021-8-4_10-19-37.png?version=1&modificationDate=1677261020680&api=v2)
- In the tables responsible for the bookkeeping of the invoice, the data will be recorded as below:
![](/download/attachments/742225287/image2021-8-4_10-20-38.png?version=1&modificationDate=1677261043903&api=v2)