Upload
edwardsoares
View
101
Download
7
Tags:
Embed Size (px)
DESCRIPTION
Field Guide SAP
Citation preview
©2014 SAP SE or an SAP affiliate company. All rights reserved.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, SAP HANA, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company. Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase, Inc. Sybase is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
www.sap.com
NF-e 3.10 Field Guide
NF-e 3.10 FIELD GUIDE
2
Table of Contents
1 INTRODUCTION ...................................................................................................................... 4
2 NF-E LAYOUT 3.10 ................................................................................................................. 4 2.1 Header Fields .................................................................................................................................... 4 2.1.1 NF-e Issuing Date and Time and Other Times .................................................................................. 4 2.1.2 NF-e Identifier of Internal, Intrastate or Foreign Operations .............................................................. 4 2.1.3 NF-e DANFE Print Format ................................................................................................................. 5 2.1.4 NF-e Issuing Function ........................................................................................................................ 5 2.1.5 NF-e Final Consumer Identification .................................................................................................... 5 2.1.6 NF-e Presence Indicator .................................................................................................................... 6 2.2 Partner fields .................................................................................................................................... 6 2.2.1 NF-e Foreign ID .................................................................................................................................. 6 2.2.2 NF-e State Tax Number Indicator ...................................................................................................... 7 2.3 NF-e Download Authorization ......................................................................................................... 7 2.3.1 CNPJ .................................................................................................................................................. 7 2.3.2 CPF .................................................................................................................................................... 7 2.4 Products and Service Items ............................................................................................................ 8 2.4.1 NVE .................................................................................................................................................... 8 2.5 Products and Services / Importation Declaration ......................................................................... 8 2.5.1 Means of Transportation .................................................................................................................... 8 2.5.2 AFRMM value ..................................................................................................................................... 9 2.5.3 Import Form ........................................................................................................................................ 9 2.5.4 CNPJ ................................................................................................................................................ 10 2.5.5 Region of Third Party ....................................................................................................................... 10 2.6 Products and Services/Export ...................................................................................................... 11 2.6.1 Drawback Number ............................................................................................................................ 11 2.6.2 NRE .................................................................................................................................................. 11 2.6.3 Access Key ....................................................................................................................................... 11 2.6.4 Quantity exported ............................................................................................................................. 12 2.7 Fuel Detail ....................................................................................................................................... 12 2.7.1 Percentage of Natural Gas ............................................................................................................... 12 2.8 Immune Paper Operation .............................................................................................................. 12 2.8.1 RECOPI Number .............................................................................................................................. 12 2.9 ICMS Tax Group ............................................................................................................................. 13 2.9.1 ICMS Exempt value .......................................................................................................................... 13 2.9.2 ICMS Exempt reason ....................................................................................................................... 13 2.9.3 Deferment Operation Value ............................................................................................................. 14 2.9.4 ICMS Deferment Value .................................................................................................................... 14 2.9.5 Deferment Rate ................................................................................................................................ 14 2.10 ISS Tax Group ................................................................................................................................. 15 2.10.1 ABRASF code. ................................................................................................................................. 15 2.10.2 Deduction Value for Base Reduction ............................................................................................... 15 2.10.3 Unconditional Value ......................................................................................................................... 15 2.10.4 Conditional value .............................................................................................................................. 16 2.10.5 Retained ISS value ........................................................................................................................... 16 2.10.6 ISS requirement indicator ................................................................................................................. 16 2.10.7 Service code delivered within city .................................................................................................... 17 2.10.8 City code where taxes are due ......................................................................................................... 17 2.10.9 Country code where service was delivered ..................................................................................... 17 2.10.10 Judicial or Administrative process number which suspends ISS taxation....................................... 17 2.10.11 Tax incentive indicator ..................................................................................................................... 18 2.11 IPI Return ........................................................................................................................................ 18 2.11.1 vIPIDevol .......................................................................................................................................... 18 2.11.2 pDevol .............................................................................................................................................. 18
NF-e 3.10 FIELD GUIDE
3
2.12 Totals ............................................................................................................................................... 19 2.12.1 Date when the service was delivered ............................................................................................... 19 2.12.2 vDeducao: Deduction value to base reduction ................................................................................ 19 2.12.3 Unconditinal discount value ............................................................................................................. 19 2.12.4 vDescCond: Conditional discount value........................................................................................... 19 2.12.5 Retained ISS value ........................................................................................................................... 19 2.12.6 Special Tax Regime code ................................................................................................................ 20
3 NEW ICMS MAPPING ........................................................................................................... 20
NF-e 3.10 FIELD GUIDE
4
1 INTRODUCTION
The proposal of this guide is to show the changes in the system for the new layout 3.10 of Nota Fiscal Eletrônica (NF-e).
These changes are release dependent and you must see note 1933985 to check what is available.
As a general rule all fields covered in this document either have a standard mapping or interfaces to let you interact with the system. 2 NF-E LAYOUT 3.10
2.1 Header Fields
2.1.1 NF-e Issuing Date and Time and Other Times XML tags: dhEmi; dhCont The Issuing Date has UTC information. This information is defined by the Business Place customizing. ECC NF database mapping
XML Tag ECC Table-field
dhEmi J_1BNFDOC-DOCDAT
dhCont J_1BNFE_ACTIVE-CONTING_DATE + J_1BNFE_ACTIVE-CONTING_TIME + J_1BNFE_ACTIVE-CONTIN_TIME_ZONE
2.1.2 NF-e Identifier of Internal, Intrastate or Foreign Operations
XML Tag: idDest This field is filled according to the first CFOP digit:
First CFOP Digit Business Operation Type
1 Intrastate
2 Interstate
3 Foreign
5 Intrastate
6 Interstate
7 Foreign
ECC NF database mapping
XML Tag ECC Table-field
idDest J_1BNFLIN-CFOP
NF-e 3.10 FIELD GUIDE
5
2.1.3 NF-e DANFE Print Format
XML Tag: tpImp
By the IMG activity “Assign Numbering and Printing Parameters” (view J_1BB2V) you can customize the field DANFE Format. Below follows the available options:
Option Description
0 No DANFE Generation
1 Portrait
2 Landscape
3 Simplified DANFE
4 DANFE NFC-e
5 DANFE NFC-e via Electronic Message
ECC NF database mapping
XML Tag ECC Table-field
tpImp J_1BNFDOC-FORM
2.1.4 NF-e Issuing Function
XML Tag: finNfe The issuing function 4 - Return is mapped according to NF Document Type 6 - Return. Exceptions can
be customized at view CFOP with Versions Maintenance field “IssuePurp.”.
ECC NF database mapping
XML Tag ECC Table-field
finNfe J_1BNFDOC-DOCTYP
2.1.5 NF-e Final Consumer Identification
XML Tag: indFinal If IE indicator (from view J_1BTICMSTAXPAY) is 9 - non ICMS contributor or if the customer has CPF
then the indicator of final consumer is 1 - Final Consumer. If none of these conditions are fulfilled, then final consumer will be 0 – No.
It is available in the following interfaces
Writer Interface at “NF-e Data” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ES_HEADER->IND_FINAL).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_HEADER->OUT_HEADER->IND_FINAL).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_HEADER->IND_FINAL).
ECC NF database mapping
XML Tag ECC Table-field
NF-e 3.10 FIELD GUIDE
6
indFinal J_1BNFDOC-IND_FINAL
2.1.6 NF-e Presence Indicator
XML Tag: indPres The default value for this indicator is 9 - Not face-to-face. If NF Document Type is 2 - Complementary
or 8 – Correction then the presence indicator is 0 - Not applicable else the presence indicator is 9 - Not face-to-face.
It is available in the following interfaces
Writer Interface at “NF-e Data” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ES_HEADER->IND_PRES).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_HEADER->OUT_HEADER->IND_PRES).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_HEADER->IND_PRES).
ECC NF database mapping
XML Tag ECC Table-field
indPres J_1BNFDOC-IND_PRES
2.2 Partner fields
2.2.1 NF-e Foreign ID XML Tag: idEstrangeiro The field is filled according to the following order: 1. the CNPJ (KNA1/LFA1-STCD1) of the customer or vendor; 2. the CPF (KNA1/LFA1-STCD2) of the customer or vendor; 3. the RNE (KNA1/LFA1-RNE) of the customer or vendor. It is available in the following interfaces
Writer Interface.
Mapping BAdI Interface (CL_NFE_PRINT->FILL_HEADER->OUT_HEADER->IND_FOREIGNID).
ECC NF database mapping
XML Tag ECC Table-field
idEstrangeiro J_1BNFDOC-FOREIGNID
NF-e 3.10 FIELD GUIDE
7
2.2.2 NF-e State Tax Number Indicator
XML Tag: indIEDest
This field is available at ICMS Taxpayer View (J_1BTICMSTAXPAY), in the column “IE Indicator”. The system accepts the values below:
Option Description
1 ICMS Contributor
2 ICMS Contributor – Exempted
9 No ICMS Contributor
It is available at the following interface
Mapping BAdI Interface (CL_NFE_PRINT->FILL_HEADER->OUT_HEADER->IND_IEDEST).
ECC NF database mapping
XML Tag ECC Table-field
idIEDest J_1BNFDOC-IND_IEDEST
2.3 NF-e Download Authorization
2.3.1 CNPJ
XML Tag: autXML-CNPJ
It is available in the following interfaces
Persistence BAdI Interface (J_1BNF_ADD_DATA->FILL_AUTXML->ET_AUTXML->CNPJ).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_AUTXML->ET_AUTXML->CNPJ). 2.3.2 CPF
XML Tag: autXML-CPF
It is available in the following interfaces
Persistence BAdI Interface (J_1BNF_ADD_DATA->FILL_AUTXML->ET_AUTXML->CPF).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_AUTXML->ET_AUTXML->CPF).
NF-e 3.10 FIELD GUIDE
8
2.4 Products and Service Items
2.4.1 NVE XML Tag: NVE A new table was created linked by DOCNUM and ITMNUM, storing this information at NVE field. It is available in the following interfaces
Writer Interface at “Item” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_NVE->NVE).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_NVE->OUT_NVE->NVE).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_HEADER->OBJ_NVE->NVE).
ECC NF database mapping
XML Tag ECC Table-field
NVE J_1BNFNVE-NVE
2.5 Products and Services / Importation Declaration
2.5.1 Means of Transportation XML Tag: tpViaTransp There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). List of accepted values:
Options Description
01 Maritime
02 Fluvial
03 Lacustrine
04 Air
05 Postal
06 Railway
07 Road
08 Pipe / Transmission Network
09 Own Means
10 Symbolic inbound /outbound; no goods circulation
11 Courier
12 Handcarry
It is available in the following interfaces
Writer Interface at “Import Documents” tab.
NF-e 3.10 FIELD GUIDE
9
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_IMPORT_DI-> TRANSPORT_MODE).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_IMPORT->OUT_IMPORTING_DI->TRANSPORT_MODE).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_IMPORT_DI-> TRANSPORT_MODE).
ECC NF database mapping
XML Tag ECC Table-field
tpViaTransp J_1BNFIMPORT_DI-TRANSPORT_MODE
2.5.2 AFRMM value
XML Tag: vAFRMM
There is no logic to fill this field being up to the customer to fill it using a proper interface (see below).
It is available in the following interfaces
Writer Interface at “Import Documents” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_IMPORT_DI-> MARITIME_FREIGHT).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_IMPORT->OUT_IMPORTING_DI-> MARITIME_FREIGHT).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_IMPORT_DI-> MARITIME_FREIGHT).
ECC NF database mapping
XML Tag ECC Table-field
vAFRMM J_1BNFIMPORT_DI-MARITIME_FREIGHT
2.5.3 Import Form
XML Tag: tpIntermedio There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). List of accepted values:
Options Description
1 Import by oneself
2 Import on behalf of third parties
3 Import Under Order
It is available in the following interfaces
Writer Interface at “Import Documents” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_IMPORT_DI-> INTERMEDIATE_MODE).
NF-e 3.10 FIELD GUIDE
10
Mapping BAdI Interface (CL_NFE_PRINT->FILL_IMPORT->OUT_IMPORTING_DI-> INTERMEDIATE_MODE).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_IMPORT_DI-> INTERMEDIATE_MODE).
ECC NF database mapping
XML Tag ECC Table-field
tpIntermedio J_1BNFIMPORT_DI-INTERMEDIATE_MODE
2.5.4 CNPJ
XML Tag: CNPJ There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). It is available in the following interfaces
Writer Interface at “Import Documents” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_IMPORT_DI->CNPJ).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_IMPORT->OUT_IMPORTING_DI->CNPJ).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_IMPORT_DI->CNPJ). ECC NF database mapping
XML Tag ECC Table-field
CNPJ J_1BNFIMPORT_DI-CNPJ
2.5.5 Region of Third Party
XML Tag: UFTerceiro There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). It is available in the following interfaces
Writer Interface at “Import Documents” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_IMPORT_DI->REGIO).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_IMPORT->OUT_IMPORTING_DI->REGIO).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_IMPORT_DI->REGIO). ECC NF database mapping
XML Tag ECC Table-field
UFTerceiro J_1BNFIMPORT_DI-REGIO
NF-e 3.10 FIELD GUIDE
11
2.6 Products and Services/Export
2.6.1 Drawback Number XML Tag: nDraw There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). It is available in the following interfaces
Writer Interface at “Export Documents” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_EXPORT->NDRAW).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_EXPORT->OUT_EXPORT->NDRAW).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_EXPORT->NDRAW). ECC NF database mapping
XML Tag ECC Table-field
nDraw J_1BNFE_EXPORT-NDRAW
2.6.2 NRE
XML Tag: NRE There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). It is available in the following interfaces
Writer Interface at “Export Documents” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_EXPORT->NRE).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_EXPORT->OUT_EXPORT->NRE).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_EXPORT->NRE). ECC NF database mapping
XML Tag ECC Table-field
NRE J_1BNFE_EXPORT-NRE
2.6.3 Access Key
XML Tag: chNFe There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). It is available in the following interfaces
Writer Interface at “Export Documents” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_EXPORT->CHNFE).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_EXPORT->OUT_EXPORT->CHNFE).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_EXPORT->CHNFE). ECC NF database mapping
XML Tag ECC Table-field
NF-e 3.10 FIELD GUIDE
12
chNFe J_1BNFE_EXPORT-CHNFE
2.6.4 Quantity exported
XML Tag: qExport There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). It is available in the following interfaces
Writer Interface at “Export Documents” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_EXPORT->QEXPORT).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_EXPORT->OUT_EXPORT->QEXPORT).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_EXPORT->QEXPORT). ECC NF database mapping
XML Tag ECC Table-field
qExport J_1BNFE_EXPORT-QEXPORT
2.7 Fuel Detail
2.7.1 Percentage of Natural Gas XML Tag: pMixGN There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). It is available in the following interfaces
Writer Interface at “Fuel” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_FUEL->PMIXGN).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_ITEM->OUT_ITEM->PMIXGN).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_FUEL->PMIXGN). ECC NF database mapping
XML Tag ECC Table-field
pMixGN J_1BNFFUEL-PMIXGN
2.8 Immune Paper Operation
2.8.1 RECOPI Number XML Tag: nRECOPI There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). It is available in the following interfaces
Writer Interface at “Item” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_ITEM->NRECOPI).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_ITEM->OUT_ITEM->NRECOPI).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_ITEM_ADD->NRECOPI).
NF-e 3.10 FIELD GUIDE
13
ECC NF database mapping
XML Tag ECC Table-field
nRECOPI J_1BNFLIN-NRECOPI
2.9 ICMS Tax Group
2.9.1 ICMS Exempt value
XML Tag: vICMSDeson In general there is no logic to fill this field being up to the customer to fill it using a proper interface (see
below). After SAP note 2052491, for Zona Franca de Manaus (Tax Free region) the exempted value is mapped
from the discount value if configured the internal code of discount and the view “SD: Amount Transfer from Pricing to Notas Fiscais“ J_1BSDKONV.
It is available in the following interfaces
Writer Interface at “Taxes” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_ITEM->VICMSDESON).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_ITEM->OUT_ITEM->VICMSDESON).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_ITEM_ADD->VICMSDESON).
ECC NF database mapping
XML Tag ECC Table-field
vICMSDeson J_1BNFLIN-VICMSDESON
2.9.2 ICMS Exempt reason
XML Tag: motDesICMS You can customize the view CFOP With Versions Maintenance (view J_1BAGNV) field “ICMS
Exempt”. It is available in the following interfaces
Writer Interface at “Taxes” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_ITEM->MOTDESICMS).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_ITEM->OUT_ITEM->MOTDESON). ECC NF database mapping
XML Tag ECC Table-field
vICMSDeson J_1BNFLIN-MOTDESICMS
NF-e 3.10 FIELD GUIDE
14
2.9.3 Deferment Operation Value XML Tag: vICMSOp The ICMS value will be mapped to this field when CST 51 is used. It is available in the following interfaces
Writer Interface at “Taxes” tab.
Mapping BAdI Interface (CL_NFE_PRINT->FILL_ITEM->OUT_ITEM->VICMSOP).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_ITEM_TAX->TAXVAL). ECC NF database mapping
XML Tag ECC Table-field
vICMSOp J_1BNFSTX-TAXVAL
2.9.4 ICMS Deferment Value
XML Tag: vICMSDif There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). It is available in the following interfaces
Writer Interface at “Taxes” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_ITEM->VICMSDIF).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_ITEM->OUT_ITEM->VICMSDIF).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_ITEM_ADD->VICMSDIF). ECC NF database mapping
XML Tag ECC Table-field
vICMSDif J_1BNFLIN-VICMSDIF
2.9.5 Deferment Rate
XML Tag: pDif If ICMS Deferment Value (see item 2.9.4) is filled then this field is calculated. It is available in the following interfaces
Mapping BAdI Interface (CL_NFE_PRINT->FILL_ITEM->OUT_ITEM->PICMSDIF).
NF-e 3.10 FIELD GUIDE
15
2.10 ISS Tax Group
2.10.1 ABRASF code.
XML Tag: cListServ
This field is filled from view Official Service Types for Outgoing Notas Fiscais field “ABRASF Cod” (view J_1BSERVTYPES2V) according to Country, Jurisdiction Code and Official Service Type (outgoing).
IMG Activity: SAP Customizing Implementation Guide > Logistics - General > Tax on Goods Movements > Brazil > Service Types > Define Official Service Types for Outgoing Notas Fiscais.
2.10.2 Deduction Value for Base Reduction
XML Tag: vDeducao
It is filled from line item field “Net expenses“.
It is available in the following interfaces
Writer Interface at “Item” tab.
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_ITEM->NETOTH). ECC NF database mapping
XML Tag ECC Table-field
vDeducao J_1BNFLIN-NETOTH
2.10.3 Unconditional Value
XML Tag: vDescIncond
This field is mapped from line item field “Net discount value“.
It is available in the following interfaces
Writer Interface at “Item” tab.
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_ITEM->NETDIS). ECC NF database mapping
XML Tag ECC Table-field
vDescIncond J_1BNFLIN-NETDIS
NF-e 3.10 FIELD GUIDE
16
2.10.4 Conditional value
XML Tag: vDescCond
It is filled from the percentage of “Terms of Payment” over the "Total value including all taxes”.
2.10.5 Retained ISS value
XML Tag: vISSRet
This field is filled from the sum of all item tax values with tax groups “ISS” or “ISSS” or “ISSP”.
It is available in the following interfaces
Writer Interface at “Taxes” tab.
2.10.6 ISS requirement indicator
XML Tag: indISS
It is filled from view Define ISS Tax Situations field “ISS Liability Indicator” (view J_1BTAXSITISSV).
IMG Activity: SAP Customizing Implementation Guide > Financial Accounting (New) > Financial Accounting Global Settings (New) > Tax on Sales/Purchases > Basic Settings > Brazil > Define ISS Tax Situations.
List of accepted values:
Value Short Description
01 Due
02 Not Due
03 Exempt
04 Exportation
05 Immunity
06 Suspended by Court Decision
07 Suspended by Administrative Process
NF-e 3.10 FIELD GUIDE
17
2.10.7 Service code delivered within city
XML Tag: cServico
This field is filled from the line item tax “Official Service Type (Outgoing)”.
It is available in the following interfaces:
Writer Interface at “Taxes” tab.
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_ITEM_TAX-> SERVTYPE_OUT).
ECC NF database mapping
XML Tag ECC Table-field
cMun J_1BNFSTX-SERVTYPE_OUT
2.10.8 City code where taxes are due
XML Tag: cMun
This field is filled from the Jurisdiction Code of line item tax with tax group “ISS”, “ISSS” or “ISSP”.
It is available in the following interfaces
Writer Interface at “Taxes” tab.
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_ITEM_TAX->TAX_LOC). ECC NF database mapping
XML Tag ECC Table-field
cMun J_1BNFSTX-TAX_LOC
2.10.9 Country code where service was delivered
XML Tag: cPais
Filled only if service is done abroad. When the field cMun is filled with “9999999” and the field cPais is mapped with the country of partner in WE ship-to BP.
2.10.10 Judicial or Administrative process number which suspends ISS taxation
XML Tag: nProcesso
There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). It is available in the following interfaces
Writer Interface at “Item” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_ITEM->NPROCESSO).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_ITEM->OUT_ITEM->NPROCESSO).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_ITEM->NPROCESSO). ECC NF database mapping
NF-e 3.10 FIELD GUIDE
18
XML Tag ECC Table-field
nProcesso J_1BNFLIN-NPROCESSO
2.10.11 Tax incentive indicator
XML Tag: indIncentivo
There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). It is available in the following interfaces
Writer Interface at “Item” tab.
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ET_ITEM->INDINCENTIVO).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_ITEM->OUT_ITEM->INDINCENTIVO).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_ITEM_ADD->INDINCENTIVO).
ECC NF database mapping
XML Tag ECC Table-field
nProcesso J_1BNFLIN_ADD-INDINCENTIVO
2.11 IPI Return
2.11.1 vIPIDevol
XML Tag: vIPIDevol
It is filled with IPI tax value in case of Credit Memo Scenario. It is available in the following interfaces
Writer Interface at “Taxes” tab.
Mapping BAdI Interface (CL_NFE_PRINT->FILL_ITEM->OUT_ITEM->VIPIDEVOL).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_ITEM_ADD->VIPIDEVOL). ECC NF database mapping
XML Tag ECC Table-field
vIPIDevol J_1BNFSTX-TAXVAL
2.11.2 pDevol
XML Tag: pDevol This field is calculated if Original NF informed. It is available in the following interfaces
Writer Interface at “Taxes” tab.
Mapping BAdI Interface (CL_NFE_PRINT->FILL_ITEM->OUT_ITEM->PIPIDEVOL).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_ITEM_ADD->PIPIDEVOL).
NF-e 3.10 FIELD GUIDE
19
2.12 Totals
2.12.1 Date when the service was delivered
XML Tag: dCompet There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). It is available in the following interfaces
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ES_HEADER->DCOMPET).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_HEADER->OUT_HEADER->DCOMPET).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_HEADER_ADD->DCOMPET).
ECC NF database mapping
XML Tag ECC Table-field
dCompet J_1BNFDOC-DCOMPET
2.12.2 vDeducao: Deduction value to base reduction
XML Tag: vDeducao
This field is calculated.
2.12.3 Unconditinal discount value
XML Tag: vDescIncond
This field is calculated.
2.12.4 vDescCond: Conditional discount value
XML Tag: vDescCond
This field is calculated.
2.12.5 Retained ISS value
XML Tag: vISSRet
This field is calculated.
NF-e 3.10 FIELD GUIDE
20
2.12.6 Special Tax Regime code
XML Tag: cRegTrib There is no logic to fill this field being up to the customer to fill it using a proper interface (see below). It is available in the following interfaces
Persistence BAdI Interface (J_1BNF_ADD_DATA->ADD_DATA->ES_HEADER->CREGTRIB).
Mapping BAdI Interface (CL_NFE_PRINT->FILL_HEADER->OUT_HEADER->CREGTRIB).
NF BAPI Interface (BAPI_J_1B_NF_CREATEFROMDATA->OBJ_HEADER_ADD-> CREGTRIB).
ECC NF database mapping
XML Tag ECC Table-field
cRegTrib J_1BNFDOC-CREGTRIB
3 NEW ICMS MAPPING
map_to_xml CST
00 10 20 30 40 51 60 70 90 ST
Orig X X X X X X X X X X
Cst X X X X X X X X X X
Mod_BC X X X X X X X
v_bc X X X X X X
p_icms X X X X X X
v_icms X X X X X X
mod_bcst X X X
p_mvast X X X X X
p_red_bcst X X X
v_bcst X X
p_icmsst X X
v_icmsst X X
v_icmsdeson X X X X X
mot_des_icms X X X X X
p_red_bc X X X X
v_icmsop X
p_dif X
v_icmsdif X
v_bcstret X X
v_icmsstret X X
Ufst
p_bcop
v_bcstdest X
v_icmsstdest X