Páginas

quinta-feira, 5 de julho de 2012

SD-NFE: O QUE ACONTECE AO SALVAR UMA FATURA?

São 15 passos até o ECC receber a atualização de todo o fluxo do processo e criação de uma Fatura-NFe, ou seja, do momento que você grava a fatura (VF01) até a hora que o ECC recebe os dados da NFE e atualiza a J1BNFE, a fatura e os dados do documento contábil.
  1. Create an electronic fiscal document in SAP ERP
    To create an electronic fiscal document in a logistics process, you need country-specific information contained in an NF-e.
    For more information about the role and the handling of electronic fiscal documents (NF-es), see SAP Library for SAP ERP under Start of the navigation path SAP Solutions Next navigation stepSAP ERP Next navigation stepSAP ERP Central Component Next navigation step<Release> Next navigation stepSAP ERP Central Component Next navigation stepLogistics Next navigation stepCountry Versions Next navigation stepAmericas Next navigation stepBrazil Next navigation stepSales and Distribution (SD)End of the navigation path.
  2. Receive NF-e data in the SAP NFE core application
    The system transfers all required data in a NF-e from the SAP ERP feeder system to the SAP NFE core application, which stores the data with a common identifier and a reference to the feeder system document.
  3. Sign NF-e
    The authorities require that each NF-e be signed by using a certificate that they have issued. Each NF-e is signed individually within the ABAP stack using the certificate that is stored in the STRUST table.
  4. Queue signed NF-es
    The core application saves the signed NF-es for later reference and also queues them for the next process step.
  5. Create batch in core application
    The authorities only accept NF-es in batches that cannot exceed a certain size. The system applies all requirements from the authorities when batching signed NF-es.
  6. Send NF-e batch to SAP NetWeaver PI
    The SAP NFE system sends the batch synchronously to SAP NetWeaver PI using the standard PI adapter.
  7. Send NF-e batch from SAP NetWeaver PI to authorities
    SAP NetWeaver PI routes the batches to the correct addressee. For communicating with the authorities, an HTTPs connection using the company-specific certificate from the government via SOAP is required.
  8. Receive average timeframe from authorities for status availability
    When the authorities receive the batched NF-es, they automatically send a response via SAP NetWeaver PI with the average time (in seconds) that it took to set the NF-e batch status.
  9. Prepare request for NF-e status information
    After SAP NetWeaver PI transmits the authorities' response to the SAP NFE core application, the core application schedules a system status request message to send to the authorities.
  10. Set NF-e government status (authorities)
    The authorities set the status for all NF-es in the batch for which they have provided a time estimate. The status is stored in the authorities' system until your company retrieves it
    Note Note
    Authorities can reject NF-es due to technical problems or other reasons. You can solve this issue if you initiate the skipping process by canceling the rejected NF-e in the SAP ERP feeder system. If the authorities return the NF-e with status Denied, that means that a severe credibility problem has occurred.
  11. Request status information from authorities
    After the time set by the authorities for collecting status data has elapsed, the SAP NFE core application uses the standard PI adapter to send the status request to SAP NetWeaver PI. SAP NetWeaver PI then routes the request via the SOAP adapter to the authorities.
  12. Receive authority status in SAP NFE core application
    The SAP NFE system receives the government status for the NF-es via SAP NetWeaver PI and updates the status information accordingly.
  13. Triggering of B2B process (if configured) in SAP NFE core application
    If configured in Customizing, the SAP NFE system triggers the B2B process and sends the XML file to the business partner.
  14. Forward NF-e status to SAP ERP
    The SAP NFE core application sends the government-issued status to SAP ERP.
  15. Update status of electronic fiscal document in SAP ERP
    The process is terminated and changes to goods movement processing.
  16. Send NF-es to SAP NetWeaver PI
    The SAP NFE system uses the standard PI adapter to send the NF-es to SAP NetWeaver PI.
  17. Send NF-es from SAP NetWeaver PI to B2B receiver
    SAP NetWeaver PI routes the NF-es to the correct B2B addressee. An HTTPs connection is required to communicate with the B2B receiver.
Note Note
The authorities require the receiving and issuing companies to keep the records of exchanged NF-es and of cancellation requests that the authorities authorized or rejected.

More Information

Nenhum comentário:

Postar um comentário

Observação: somente um membro deste blog pode postar um comentário.