Professional Documents
Culture Documents
SAP Nota Fiscal Eletrônica 10.0 Master Guide
SAP Nota Fiscal Eletrônica 10.0 Master Guide
2019-10-29
1 Getting Started. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1 About this Document. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Related Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Important SAP Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5 System Landscape. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
8 Solution-Wide Topics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
A Appendix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
A.1 List of Documents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
A.2 List of SAP Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Use
This Master Guide is the central starting point for the technical implementation of SAP Nota Fiscal Eletrônica
(SAP NFE). You can find cross-scenario implementation information as well as scenario-specific information in
this guide.
Note
The central starting point for the technical upgrade of your SAP application is the Upgrade Master Guide,
which you can find on SAP Help Portal at http://help.sap.com/nfe .
Use the Master Guide to get an overview of SAP Nota Fiscal Eletrônica (SAP NFE), its software units, and its
scenarios from a technical perspective. The Master Guide is a planning tool that helps you to design your
system landscape. It refers you to the required detailed documentation, mainly:
Note
You can find the most current information about the technical implementation of SAP Nota Fiscal
Eletrônica (SAP Electronic Invoicing for Brazil) and the latest installation and configuration guides on SAP
Help Portal at http://help.sap.com/nfe .
We strongly recommend that you use the documents available here. The guides are regularly updated.
● The business scenarios that are presented here serve as examples of how you can use SAP software in
your company. The business scenarios are only intended as models and do not necessarily run the way
they are described here in your customer-specific system landscape. Ensure to check your requirements
and systems to determine whether these scenarios can be used productively at your site. Furthermore, we
recommend that you test these scenarios thoroughly in your test systems to ensure they are complete and
free of errors before going live.
● This Master Guide primarily discusses the overall technical implementation of SAP Nota Fiscal Eletrônica,
rather than its subordinate components. This means that additional software dependencies might exist
without being mentioned explicitly in this document. You can find more information on component-specific
software dependencies in the corresponding installation guides.
Planning Information
For more information on planning topics not covered in this guide, see the following content on SAP Help Portal
and SAP Support Portal:
Released platforms and technology-related topics, such as To access the Platform Availability Matrix directly, enter
maintenance strategies and language support https://support.sap.com/pam
Performance https://www.sap.com/about/benchmark/sizing/perform
ance.html
Information about Support Package Stacks, latest software http://support.sap.com/swdc SAP Support Packages
versions and patch level requirements
and Patches SAP Support Package Stacks
The following table lists further useful links on SAP Support Portal:
In addition to this Master Guide, also refer to the Master Guide for SAP NetWeaver. SAP NetWeaver is the
underlying platform for the core application of SAP Nota Fiscal Eletrônica and SAP NetWeaver Process
Integration (SAP NetWeaver PI) for the PI content of SAP Nota Fiscal Eletrônica. You can find more information
in the following documents:
Title Location
You must read the following SAP Notes before you start the installation. These SAP Notes contain the most
recent information on the installation, as well as corrections to the installation documentation.
Make sure that you have the up-to-date version of each SAP Note, which you can find on SAP Support Portal at
https://support.sap.com/notes .
1783317 SAP Nota Fiscal Eletrônica Information about installing SAP Nota
Fiscal Eletrônica
1492733 SAP Nota Fiscal Eletrônica 10.0 installa Description of the installation require
tion on NW 7.02/SAP ECC 600 ments for SAP Nota Fiscal Eletrônica
1492736 Delta Upgrade to SLL-NFE 10.0 with Description of the Add-on upgrade to
SAP NetWeaver SAP NetWeaver Release 70 EHP2 SP06
on SLL-NFE 900
1492737 SLL-NFE 900 Support Package Information for installing Support Pack
ages in SAP Nota Fiscal Eletrônica
1589975 Technical Notes from SEFAZ - Overview This note provides an overview of the
note SAP solution to cover the Brazilian legal
requirement of changes regarding Ele
tronic Notas Fiscais (NF-e) published
via Technical Notes at Ministério da Fa
zenda website.
1858130 CT-e Technical Notes from SEFAZ - This note provides an overview of the
Overview note SAP solution to cover the Brazilian legal
requirement of changes regarding Ele
tronic Conhecimento de Transporte
(CT-e) published via Technical Notes at
Ministério da Fazenda website.
662340 SSF Encryption Using the SAPCryptolib You need to use the SAP Cryptographic
Library for encrypting data in the SAP
system (using SSF)
1524196 Import Certificates in ABAP and Java This Note deals with the import of NFE
certificates into the Key Storage for the
XML signature and verification in ABAP
and Java
1152640 Import of ESR Content for PI 7.1 and Installation Information for import of
EHP1 ESR content for PI 7.1 and EHP1
1574235 Import of ESR Content for PI 7.3 Installation information for import of
ESR content for PI 7.3
1865292 Import of ESR Content for PI 7.4 Installation information for import of
ESR content for PI 7.4
2230615 Import of ESR Content for PI 7.5 Installation information for import of
ESR content for PI 7.5
1536142 NF-e Incoming Automation: Pre-requi Setup of SAP ERP to use the NF-e In
sites ERP Notes Overview coming Automation delivered with SAP
Nota Fiscal Eletrônica 10.0
1772870 Sizing SAP NFE 10.0 - Outbound Proce Recommendations concerning the
dure hardware sizing of SLL-NFE 10.0 for the
NF-e Outbound Procedure.
1830415 Sizing SAP NFE 10.0 - Inbound Proce Recommendations concerning the
dure hardware sizing of SLL-NFE 10.0 for the
NF-e Inbound Procedure.
1901894 Useful SAP NetWeaver notes for NFE When you use the SAP NFE application,
application several frameworks and other compo
nents are involved. This note gives you
an overview over SAP Netweaver notes
that have some influence on SAP NFE.
SAP Nota Fiscal Eletrônica supports companies that have to comply with the requirements defined by the
regional Brazilian authorities on electronic invoicing. The invoicing is based on the nota fiscal processes in a
logistics system, for example SAP ERP. SAP Nota Fiscal Eletrônica provides integration between a company
and the government systems. The business processes are defined by the authorities including the following two
communication processes:
Outbound
● NF-e
○ Sending a Nota Fiscal Eletrônica (NF-e)
You can send an NF-e to the government system in accordance with the requirements regarding file
size and format. Authorized NF-es can be sent to the business partners.
○ Cancellation of NF-es
If a billing document in the logistics process needs to be canceled, this cancellation must be passed on
to the authorities using a cancellation request via an event.
○ Skipping of NF-es
For rejected NF-es, you must request the numeration skipping for the these invoices.
● CT-e
○ Sending a Conhecimento de Transporte Eletrônico (CT-e)
You can send CT-es to the government system in accordance with the requirements regarding file size
and format. Authorized CT-es can be sent to the business partners.
○ Cancellation of CT-es
If a billing document in the logistics process needs to be canceled, this cancellation must be passed on
to the authorities using a cancellation request via an event.
○ Skipping of CT-es
For rejected CT-es, you must request the numeration skipping for the these invoices.
● MDF-e
○ Sending a Manifesto Eletrônico de Documentos Fiscais (MDF-e)
You can send MDF-es to the government system in accordance with the requirements regarding file
size and format.
○ Cancellation of MDF-es
If an electronic document in the logistics process needs to be canceled, this cancellation must be
passed on to the authorities using a cancellation request via an event.
● Events
You can send events containing additional information about an electronic document (NF-e/CT-e/MDF-e)
to the government system, for example, the cancellation or the correction letter.
Caution
For a correct error handling, it is essential to send negative acknowledgments from PI to NFE if a
communication problem occurs (Due to the fact that the outbound scenario relies on asynchronous
messages from NFE to PI). For PI double-stack installations, the alert category NFE_ALRT_CAT has to be
Inbound
● You can use SAP Nota Fiscal Eletrônica to electronically connect to your business partners for the NF-
e/CT-e exchange in business-to-business (B2B) scenarios. With SAP Nota Fiscal Eletrônica, it is possible to
receive NF-es/CT-es and events from your business partner. It is also possible to automate the incoming
process: from receipt of the electronic documents, signature validation and authorization check to the
creation of the invoice in the SAP ERP back end system. This new function is provided through the
following workplaces:
○ Fiscal Workplace
○ Logistics Workplace
○ DF-e Gate Monitor
○ Receiver Acknowledgment Workplace
Note that the connected ERP system must be an SAP ERP system for you to use the function. Refer to SAP
Note 1536142 for more information about SAP ERP prerequisites.
Note
By integrating to the relevant systems, SAP Nota Fiscal Eletrônica is a centralized data store for the
message exchange, regarding the communication with the authorities, and other companies' systems in
the B2B scenarios. SAP NFE is the central platform for the legally required storage of the exchanged files.
Caution
The ERP interfaces for Inbound NF-e simulation and posting have changed. Therefore, SAP notes 1754198
and 1752688 have to be implemented on ERP before upgrading SAP NFE to the current support
package level.
To comply with all standards that the authorities define and still allow the highest possible flexibility for your
system landscape, the shipment of SAP Nota Fiscal Eletrônica includes the following software units:
● SAPBO SLL-NFE 10.0 - ABAP-based core application of SAP Nota Fiscal Eletrônica
The core application contains the main monitoring for the communication flow and related status
information for system administration purposes. In addition, it contains the Fiscal and Logistics Workplace
for the inbound processing of B2B documents.
● The core application is based on SAP NetWeaver Application Server for ABAP.
● PI Content SLL-NFE 10.0 - Content for SAP NetWeaver Process Integration (SAP NetWeaver PI)
The content for SAP NetWeaver PI offers you all technology and messaging opportunities you need to send
NF-es to invoicing processes in a compliant manner. It comprises the protocol HTTPS including a
certificate of the government to use the SOAP protocol for the electronic communication that is required
by the authorities.
This content requires an existing or new installation of SAP NetWeaver PI.
In PI, the alert category NFE_ALRT_CAT has to be created using transaction ALRTCATDEF (see Note
1741486 ).
You can only use SAP Nota Fiscal Eletrônica if your backend system provides the data of the notas fiscais that a
company requires. SAP ERP fulfills this requirement if the information in SAP Note 1693553 , and 1536142
(only relevant for Incoming) has been applied.
This section provides an overview of the minimal required software component versions. Also see SAP note
1783317 .
For other supported software component versions, see https://support.sap.com/pam and http://
help.sap.com .
Software Unit of SAP Nota Fiscal Core Application of SAP Nota Fiscal PI Content:
Eletrônica Eletrônica:
SLL-NFE 10.0
SAPBO SLL-NFE 10.0
SAP_ABA 7.02 X -
SAP_BASIS 7.02 X -
PI_BASIS 7.02 X -
SAP_EP (X) -
All print forms in SAP Nota Fiscal Eletrônica are available in Adobe print technology. If you want to use printing
functions the Adobe Document Server (ADS) is required that is included in the delivery of SAP NetWeaver Java
Stack. Printing forms are required to display a preview of the DANFE in the Fiscal Workplace for NF-e.
Caution
We strongly recommend that you use a minimal system landscape for test and demo purposes only. For
performance, scalability, high availability, and security reasons, do not use a minimal system landscape as
your production landscape.
In addition, we strongly recommend to always upgrade the SAP NFE system to the latest available SAP
NetWeaver support package. This enables you to implement the frequent legal changes from the
authorities with less effort. For more information, refer to SAP note 1397878 .
All software units of SAP Nota Fiscal Eletrônica are based on SAP NetWeaver technology.
● SAP ERP can use SAP Nota Fiscal Eletrônica with the Brazilian-specific invoicing process according to the
requirements stated in SAP Note 1693553 ,and SAP Note 1536142 (only for Incoming)
● The core application is ABAP-based
Note
For the digital signature of NFE data in the SAP system using Secure Store and Forward (SSF) you
must install the SAP Cryptographic Library (SAPCRYPTOLIB) as described in SAP Note 662340 :
SSF Encryption Using the SAPCryptolib
Use
The following table describes the overall installation sequence for SAP Nota Fiscal Eletrônica.
This table contains all available software units. However, to implement a specific scenario, you only need a
subset of available software units. Some are only required for special processes. For information about which
software is required to implement a specific scenario, see the Software Component Matrix.
For the latest component version and patch level requirements, see the quick links on the SAP Help Portal.
Process
The following steps are relevant for activities in the system of SAP Nota Fiscal Eletrônica 10.0.
1 Install SAP NetWeaver with ABAP SAP NetWeaver Installation Guide During this installation, you can
stack for the core application of at https://help.sap.com/nw70 select all necessary basis soft
SAP Nota Fiscal Eletrônica ware components that you re
Installation - SAP NetWeaver
quire.
Systems .
3 Install PI Content SAPBO SLL-NFE SAP Note 1574235 1152640 , Follow the instructions in the
10.0 on SAP NetWeaver PI system 1865292 , and 2230615 . mentioned SAP Notes. If you
need to install PI follow the in
structions on the Help Portal for
SAP NetWeaver Process Integra
tion.
4 Installation of Adobe Document Check for special hardware re Adobe Document Services are
Services quirements of ADS in SAP Help part of SAP NW.
(optional)
Portal at https://help.sap.com/
nw70 and read the SAP Net
Weaver Master Guide. On the front
end, you require Adobe Reader or
Adobe Acrobat.
The following tables describe the overall upgrade sequence for substitution upgrades using SAPup. However,
for delta upgrades all installation steps stated in section Overall Installation Information and in the respective
installation descriptions for the product areas using SAINT. For more information about the distinction criteria
between substitution and delta upgrade, see SAP Note 1492733 . The tables contain all available software
units. However, for upgrading a specific scenario, you only need a subset of available software units. Some are
only required for special processes. For information about which software is required to upgrade to a specific
scenario, see the Software Component Matrix and the scenario-specific sections. For the latest component
version and patch level requirements, see the Support Package Stack Guide on the SAP Support Portal at
https://support.sap.com/sp-stacks . The following steps are relevant for activities in the system of SAP Nota
Fiscal Eletrônica.
1 Installation of SAP NetWeaver 7.02 Support Pack The upgrade of the packages of the SAP NetWea
ages (SP) up to required SP levels for the current ver stack and SLL-NFE is only possible by includ
product release of SAP Nota Fiscal Eletrônica: ing all in one upgrade. The upgrade in subsequent
steps is not possible.
For more information, see http://help.sap.com//
nw702
2 Check for installation or upgrade requirements For the upgrade, the packages of the SAP Net
concerning patch levels or support packages of Weaver stack, SLL-NFE is only possible by includ
the following SAP NetWeaver components if re ing all in one upgrade. The upgrade in subsequent
quired. steps is not possible.
Upgrade to software component SLL-NFE 10.0 for For more information, see Software Component
SAP Nota Fiscal Eletrônica. Matrix and see the relevant SAP Notes 1492736
and 1492737 for SLL-NFE.
You can use the following standard tools provided by SAP NetWeaver, to set up, monitor, and update the
systems and components that you use for SAP Nota Fiscal Eletrônica:
For more information about the standard tools from SAP NetWeaver, see the Master Guide for SAP NetWeaver
7.0 EHP2 at http://help.sap.com/nw702 Planning .
The following table lists all documents mentioned in this Master Guide.
All SAP Notes relevant for the installation, upgrade, or maintenance of SAP Nota Fiscal Eletrônica 10.0 are
listed in section Important SAP Notes of this guides. No additional SAP Notes were used in this Master Guide.
Hyperlinks
Some links are classified by an icon and/or a mouseover text. These links provide additional information.
About the icons:
● Links with the icon : You are entering a Web site that is not hosted by SAP. By using such links, you agree (unless expressly stated otherwise in your
agreements with SAP) to this:
● The content of the linked-to site is not SAP documentation. You may not infer any product claims against SAP based on this information.
● SAP does not agree or disagree with the content on the linked-to site, nor does SAP warrant the availability and correctness. SAP shall not be liable for any
damages caused by the use of such content unless damages have been caused by SAP's gross negligence or willful misconduct.
● Links with the icon : You are leaving the documentation for that particular SAP product or service and are entering a SAP-hosted Web site. By using such
links, you agree that (unless expressly stated otherwise in your agreements with SAP) you may not infer any product claims against SAP based on this
information.
Example Code
Any software coding and/or code snippets are examples. They are not for productive use. The example code is only intended to better explain and visualize the syntax
and phrasing rules. SAP does not warrant the correctness and completeness of the example code. SAP shall not be liable for errors or damages caused by the use of
example code unless damages have been caused by SAP's gross negligence or willful misconduct.
Gender-Related Language
We try not to use gender-specific word forms and formulations. As appropriate for context and readability, SAP may use masculine word forms to refer to all genders.
SAP and other SAP products and services mentioned herein as well as
their respective logos are trademarks or registered trademarks of SAP
SE (or an SAP affiliate company) in Germany and other countries. All
other product and service names mentioned are the trademarks of their
respective companies.