Vous êtes sur la page 1sur 7

The following documentation explains how your SAP ERP system and SAP Nota Fiscal Eletrônica communicates

and processes the return of unused components. The steps in this process are as follows:

● Simulate Material Document and NF-e


● Post Component Return and NF-e

For information about the standard communication and processing in all steps of the incoming process, see
Processing in SAP ERP: Normal Purchasing [page 184].

Features

Simulate Material Document and NF-e

In addition to the usual data needed for a simulation, SAP Nota Fiscal Eletrônica sends the number of the
reference nota fiscal, that is the NF that was used to send the components to the subcontractor, to your SAP ERP
system.

Your SAP ERP system checks that the referred nota fiscal exists as an outgoing nota fiscal. If several notas fiscais
are found, the system checks that they all have the same sender and recipient. Using the recipient of the referred
nota fiscal, the system tries to find the vendor, plant, and storage location. If this is successful, the system then
checks if the stock quantities at the vendor are sufficient for a return of components posting. If this is not the case,
your SAP ERP system returns an error message to SAP Nota Fiscal Eletrônica. The system converts the UoM (unit
of measurement) in the XML to the UoM in SAP ERP.

If a posting is possible, the system simulates the tax postings using the prices and other values passed from SAP
Nota Fiscal Eletrônica. The ICMS value should be 0. The tax base is calculated using the values in the XML.

Post Component Return and NF-e

SAP Nota Fiscal Eletrônica sends data that is necessary for posting the component return to your SAP ERP
system. Your SAP ERP system uses the recipient in the referred nota fiscal to locate the vendor, plant, and storage
location. The system then posts the goods consumption with this data:

● Material and quantity from the XML data


● NF number (number and series) in the Material Slip field
● Referred NF number (number and series) in the document header text

Your SAP ERP system also posts the NF-e for the return. The system calculates the taxes using the prices from the
incoming XML as the prices in the NF-e. After a successful posting, your SAP ERP system returns the material
number to SAP Nota Fiscal Eletrônica.

7.2.5.10 NF-e Future Delivery Overview

Use

The Future Delivery scenario is used to carry out Future Delivery processes in the NFE system. Every Future Delivery
process consists of two NF-es that belong together. The first NF-e is the invoice and the second NF-e is the delivery
and goods receipt.

SAP Electronic Invoicing for Brazil (SAP Nota Fiscal Eletrônica)


208 PUBLIC Inbound
The following Future Delivery processes are offered:

● NF-e Invoice Receipt Future Delivery Process [page 209]


● NF-e Goods Receipt Future Delivery Process [page 212]

Process

Process Name Technical Name Steps

NF-e Invoice Receipt Future Delivery FUTDELIV ● Validate Business Partner's Signature
Process ● Check Authorization after NF-e Receipt
● Validate Invoice - Future Delivery
● Assign Purchase Order Items- Future Delivery
● Simulate Invoice and NF-e
● Notification XML accepted
● Enter DANFE
● Post Invoice and NF-e - Future Delivery
● Create Operation Confirmation Event

NF-e Goods Receipt Future Delivery FUTDELGR ● Validate Business Partner's Signature
Process ● Check Authorization after NF-e Receipt
● Validate Invoice - Future Delivery
● Assign Reference Purchase Order Items
● Simulate Goods Receipt and NF-e
● Generate Inbound Delivery
● Notification XML accepted
● Enter DANFE
● Check Authorization After DANFE Receipt
● Enter Goods Receipt Quantities
● Check Goods Receipt Quantities
● Prepare Goods Receipt Posting
● Post GoodsReceipt Future Delivery
● Create Operation Confirmation Event

7.2.5.10.1 NF-e Invoice Receipt Future Delivery Process

Use

The NF-e Invoice Receipt Future Delivery Process scenario is used to carry out Future Delivery processes in the NFE
system. Every Future Delivery process consists of two NF-es that belong together. The first NF-e is the invoice and
the second NF-e is the delivery and goods receipt.

SAP Electronic Invoicing for Brazil (SAP Nota Fiscal Eletrônica)


Inbound PUBLIC 209
The process NF-e Invoice Receipt Future Delivery Process posts the invoice receipt to the ERP system and the NFE
system receives the result of the invoice receipt from the ERP system.

Process

The process Invoice Receipt Future Delivery (technical name: FUTDELIV) consists of the following steps:

Step Technical Description


Name

1. Validate Signature of Business SIGNATUR This step checks the signature of the received NF-e and if the calculated di­
Partner gest value matches the value in the XML. For more information, see SIGNA­
TUR [page 277]

2. Check Authorization After NF-e AUTHORIZ Check the authorization status of the NF-e using the NF-e status check. For
Receipt more information, see AUTHORIZ [page 229].

3. Validate Invoice - Future FDIVVALD This step offers a BAdI that can be used to validate the whole content of the
Delivery XML. For more information, see FDIVVALD [page 247].

4. Assign Purchase Order Items- FDASSIGN This step assigns to all item of the XML a purchase order and purchase or­
Future Delivery der number. These two values can be assigned automatically if both are in­
formed in the corresponding fields in the XML. For more information, see
FDASSIGN [page 242].

5. Simulate Invoice and NF-e NSIMFDIV This step simulates the invoice posting with the current assignments. For
more information, see NSIMFDIV [page 267]

6. Notification XML Accepted ACCNOTIF The fiscal clerk notifies the vendor that the XML has been accepted. For
more information, see ACCNOTIF [page 224].

7. Enter DANFE RECDANFE The vendor sends the goods, together with the DANFE, to the company,
and the goods arrive at the company. For more information, see RECDANFE
[page 270].

8. Post Invoice and NF-e - Future FDIVPOST This step posts the invoice in the connected ERP system. For more infor­
Delivery mation, see FDIVPOST [page 246].

9. Create Operation Confirmation SENDOPCO This step issues an Operation Confirmation Event to report the status of the
Event transaction to the government. The step triggers the event creation and
waits afterwards until the event process updates the NF-e status as soon as
it receives an authorization status for the Operation Confirmation Event. For
more information, see SENDOPCO [page 275].

SAP Electronic Invoicing for Brazil (SAP Nota Fiscal Eletrônica)


210 PUBLIC Inbound
7.2.5.10.1.1 Processing in SAP ERP: Future Delivery Invoice

Use

To automatically process the information in the invoice and incoming NF-e for future deliveries and create the
follow-on documents, SAPNota Fiscal Eletrônica communicates with your SAP ERP system and vice versa. This
documentation focuses on the communication and processing specific to future deliveries in the following steps in
the incoming process:

● Assign Purchase Order Items


● Simulate Invoice and NF-e
● Post Invoice and NF-e

For information about the standard communication and processing in all steps of the incoming process, see
Processing in SAP ERP: Normal Purchasing [page 184].

Features

Assign Purchase Order Items

In this process, the communication between SAP Nota Fiscal Eletrônica and your SAP ERP system is similar to the
communication for normal purchasing. However, when your SAP ERP validates the purchase order assignment,
the system also checks that none of the purchase order items in the assigned purchase order is set for goods-
receipt-based invoice verification. If an item is marked as such in the purchase order, your SAP ERP system returns
an error message to SAP Nota Fiscal Eletrônica.

Note
The assignment of multiple NF-e items to the same purchase order item is not supported for future delivery
invoices.

Simulate Invoice and NF-e

After the purchase order data is assigned, you can simulate the NF-e using the prices and other data from the
XML. Your SAP ERP system determines the NF type for the future delivery process using the corresponding
Customizing settings in your SAP ERP system. The system then simulates the prices and taxes. The system also
checks that the taxes are consistent for this process type, that is, ICMS is statistical. If this is not the case, your
SAP ERP system returns an error message to SAP Nota Fiscal Eletrônica.

Post Invoice and NF-e

After the status of the invoice and NF-e posting simulation is set to okay, SAP Nota Fiscal Eletrônica informs your
SAP ERP system. Your SAP ERP system then uses the data sent by SAP Nota Fiscal Eletrônica and the required NF
type from your SAP ERP Customizing to post the invoice and corresponding NF-e. Your SAP ERPS system sends
the resulting invoice number and the fiscal year to SAP Nota Fiscal Eletrônica.

SAP Electronic Invoicing for Brazil (SAP Nota Fiscal Eletrônica)


Inbound PUBLIC 211
7.2.5.10.2 NF-e Goods Receipt Future Delivery Process

Use

The Goods Receipt Future Delivery scenario is used to carry out Future Delivery processes in the NFE system. Every
Future Delivery process consists of two NF-es that belong together. The first NF-e is the invoice and the second NF-
e is the delivery and goods receipt.

The process Goods Receipt Future Delivery creates the inbound delivery and triggers the goods receipt posting in
the connected ERP system. Finally, the invoice receipt is posted to the ERP system and the NFE system receives
the result of the invoice receipt from the ERP system.

Process

The process NF-e Goods Receipt Future Delivery Process (technical name: FUTDELGR) consists of the following
steps:

Step Technical Description


Name

1. Validate Signature of Business SIGNATUR This step checks the signature of the received NF-e and if the calculated di­
Partner gest value matches the value in the XML. For more information, see SIGNA­
TUR [page 277]

2. Check Authorization After NF-e AUTHORIZ Check the authorization status of the NF-e using the NF-e status check. For
Receipt more information, see AUTHORIZ [page 229].

3. Validation for Future Delivery FDELVALD If there are RTP positions (abbreviation for returnable packaging), then the
system checks the unit of measurement (UoM) and conversion (if neces­
sary) in the ERP system. For more information, see FDELVALD [page 244].

4. Assign Reference Purchase POASSREF This step assigns to all item of the XML a purchase order and purchase or­
Order Items der number. These two values can be assigned automatically if both are in­
formed in the corresponding fields in the XML. For more information, see
POASSREF: Assign Reference Purchase Order Items [page 268].

5. Simulate Goods Receipt and NSIMFDGR This step simulates the invoice posting with the current assignments. For
NF-e more information, see NSIMFDGR [page 266]

6. Generate Inbound Delivery FDDELCRE This step creates the inbound delivery in the connected ERP system. For
more information, see FDDELCRE [page 243]

7. Notification XML Accepted ACCNOTIF The fiscal clerk notifies the vendor that the XML has been accepted. For
more information, see ACCNOTIF [page 224].

SAP Electronic Invoicing for Brazil (SAP Nota Fiscal Eletrônica)


212 PUBLIC Inbound
8. Enter DANFE RECDANFE The vendor sends the goods, together with the DANFE, to the company,
and the goods arrive at the company. For more information, see RECDANFE
[page 270].

9. Check Authorization After AUTHGRPT Check the authorization status of the NF-e using the NF-e status check. For
DANFE Receipt more information, see AUTHGRPT [page 228].

10. Enter Goods Receipt GRCONFQU The logistics clerk counts the quantities. By default, the quantities in the
Quantities NF-e are used as the reference point. If counted quantities deviate from the
default values, the logistics clerk can overwrite and enter other quantities.
For more information, see GRCONFQU [page 250].

11. Check Goods Receipt GRFICHCK The fiscal clerk compares the quantities from the NF-e with the received
Quantities quantities (see step 8) and confirms the results. For more information, see
GRFICHCK [page 250].

12. Prepare Goods Receipt GRMMCHCK The logistics clerk confirms that all preparations are complete and that the
Posting goods receipt can be posted. For more information, see GRMMCHCK [page
251].

13. Post Goods Receipt Future FDGRPOST This step posts the goods receipt in the connected ERP system. For more
Delivery information, see FDGRPOST [page 245].

14. Create Operation SENDOPCO This step issues an Operation Confirmation Event to report the status of the
Confirmation Event transaction to the government. The step triggers the event creation and
waits afterwards until the event process updates the NF-e status as soon as
it receives an authorization status for the Operation Confirmation Event. For
more information, see SENDOPCO [page 275].

7.2.5.10.2.1 Processing in SAP ERP: Future Delivery Goods


Receipt

Use

In order to automatically process the information in the incoming NF-e delivered with the goods receipt for a future
delivery and create the follow-on documents, SAP Nota Fiscal Eletrônica communicates with your SAP ERP
system and vice versa. This documentation focuses on the communication specific to future deliveries that occurs
during the following steps in the incoming process:

● Simulate NF-e based on Goods Receipt


● Create Inbound Delivery
● Post Goods Receipt and NF-e based on Inbound Delivery

For information about the standard communication and processing in all steps of the incoming process, see
Processing in SAP ERP: Normal Purchasing [page 184].

SAP Electronic Invoicing for Brazil (SAP Nota Fiscal Eletrônica)


Inbound PUBLIC 213
Features

Simulate NF-e based on Goods Receipt

Using the data from SAP Nota Fiscal Eletrônica, your SAP ERP system checks if the referenced NF-e access key
exists in the database. If it does, the system simulates the goods receipt and its corresponding NF-e. The system
derives the movement type from the delivery type that was entered in your SAP ERP Customizing for the future
delivery process. Your SAP ERP system derives the tax codes from the mapping in your SAP ERP Customizing of
the tax codes for the purchase order to the tax codes of the goods receipt. The system checks the following tax
information:

● ICMS rate to be used in SAP ERP is the same as the rate in the XML
● Incoming XML does not contain IPI
● IPI, if any, is to be posted statistically

Note
The assignment of multiple NF-e items to the same purchase order item is supported as of SAP Enhancement
Package 5 for SAP ERP 6.0 the. For lower releases, it is essential for the rest of the automation to run correctly
that the assignment between NF-e item and purchase order item is unique.

Create Inbound Delivery

After a successful simulation, your SAP ERP system can create an inbound delivery. SAP Nota Fiscal Eletrônica
sends the tax data from the XML and informs your SAP ERP system that this is an inbound delivery for the Future
Delivery Goods Receipt process. The system creates the inbound delivery using the delivery type from your
Customizing settings for the future delivery process.

Post Goods Receipt and NF-e based on Inbound Delivery

Using the data from SAP Nota Fiscal Eletrônica, your SAP ERP system compares the quantities in the inbound
delivery with the quantities in the incoming XML to ensure that they are still the same. The system posts the goods
receipt and NF-e and sends the resulting goods receipt number to SAP Nota Fiscal Eletrônica.

7.2.5.11 NF-e Consignment Overview

Use

The NF-e Consignment process can be described in the following way: A supplier provides products or raw
material for a customer that is also stored in the customer's own warehouse. The supplier remains the rightful
owner of these products or raw materials until the customer (reseller or manufacturer) withdraw them from the
consignment warehouse. By removing products or raw materials from the consignment warehouse, a liability
towards the supplier is created. The invoice is due according to agreed time periods, for example, monthly. The
parties of this contract can arrange that the customer will automatically take over remaining products or raw
materials in the consignment warehouse after a defined time period. The process consists of 2 parts and is similar
to the NF-e Future Delivery process. In contrast to the NF-e Future Delivery process, which issues the invoice
before the delivery of the product, the NF-e Consignment process has a delivery of a product or raw material first
and then an invoice. The delivery comes first and a Goods Receipt is booked for the Consignment warehouse. After

SAP Electronic Invoicing for Brazil (SAP Nota Fiscal Eletrônica)


214 PUBLIC Inbound

Vous aimerez peut-être aussi