IRL NF-e XML Mapping for VBCSTRet and VICMSSTRet Fields (Doc ID 2213137.1)

Last updated on DECEMBER 19, 2016

Applies to:

Oracle Retail Fiscal Management - Version 14.1.2 and later
Information in this document applies to any platform.

Goal

In order to handle the CST/ICMS 60 (ICMS cobrado anteriormente por substituição tributária), there are two fields in table FM_EDI_DOC_DETAIL, RECOVERABLE_BASE and RECOVERABLE_VALUE.
When executing the fmedinf batch process, these values are loaded into the FM_FISCAL_DOC_DETAIL columns RECOVERABLE_BASE and RECOVERABLE_VALUE, if the values have been informed in the staging table.
Later, these values are sent as parameters to the RFM NF tax calls to Taxweb, so it can update the historical recovery tables and calculate the icmsProprio and vlRecuperar that will be returned to RFM.

NFE XML IRL processing should read the fields vBCSTRet (Valor da BC do ICMS ST retido) and vICMSSTRet (Valor do ICMS ST retido) , process and insert the values into the FM_EDI_DOC_DETAIL corresponding columns RECOVERABLE_BASE and RECOVERABLE_VALUE.

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms