Muokkaa

Jaa


Set up NF-e federal parameters (Brazil)

This article describes how to set up Nota Fiscal eletrônica (NF-e) web services, rejection codes, and schemas to generate an NF-e in Brazil with Microsoft Dynamics 365 Finance.

You can set up NF-e web services, rejection codes, and schemas to generate an NF-e. After you generate an NF-e, XML messages are generated and submitted to the Secretaria da Fazenda (SEFAZ).

The following procedure uses the BRMF demo company.

To set up NF-e web services, rejection codes, and schemas to generate an NF-e, follow these steps.

  1. In Dynamics 365 Finance, go to Organization administration > Organizations > Electronic fiscal documents > NF-e federal parameters.
  2. Select New. One tax authority must be created per state.
  3. In the Authority field, enter a value.
  4. In the Name field, enter a value.
  5. Select the Ignore accents checkbox.
  6. Select the Cancel as Event checkbox. This option complies with the cancellation of NF-e through events instead of a specific XML cancellation file.
  7. Select Save.
  8. Select New.
  9. In the Environment field, select an option.
  10. Select the web service for NF-e authorization.
  11. In the Version field, enter a value.
  12. In the Internet address field, enter a value.
  13. Select New.
  14. In the Environment field, select an option.
  15. Select the web service for NF-e discard.
  16. In the Version field, enter a value.
  17. In the Internet address field, enter a value.
  18. Select New.
  19. In the Environment field, select an option.
  20. Select the web service for NF-e inquiries.
  21. In the Version field, enter a value.
  22. In the Internet address field, enter a value.
  23. Select New.
  24. In the Environment field, select an option.
  25. Select the web service for NF-e authorization returns.
  26. In the Version field, enter a value.
  27. In the Internet address field, enter a value.
  28. Select New.
  29. In the Environment field, select an option.
  30. Select the web service for NF-e events.
  31. In the Version field, enter a value.
  32. In the Internet address field, enter a value.
  33. Select New.
  34. In the Environment field, select an option.
  35. Select the web service for NF-e service status inquiries.
  36. In the Version field, enter a value.
  37. In the Internet address field, enter a value.
  38. Select Save.
  39. Select the Rejection codes tab.
  40. Select New.
  41. In the NF-e rejection code field, enter the rejection code from the official NF-e guide.
  42. In the Description field, enter a value.
  43. In the list, mark the selected row.
  44. In the Message type field, select an option.
  45. In the Fiscal document status field, enter the fiscal document status that must be set when the rejection code is entered.
  46. Select Save.
  47. Select the Schemas tab.
  48. Select New. When applicable, enter the path of the XSD file that is used to validate the NF-e XML.
  49. In the The version of the NF-e feature field, select an option.
  50. In the Schema field, enter a value.
  51. Select New.
  52. In the Schema type field, select an option.
  53. In the The version of the NF-e feature field, select an option.
  54. In the Schema field, enter a value.
  55. Select New.
  56. In the Schema type field, select an option.
  57. In the The version of the NF-e feature field, select an option.
  58. In the Schema field, enter a value.
  59. Select New.
  60. In the Schema type field, select an option.
  61. In the The version of the NF-e feature field, select an option.
  62. In the Schema field, enter a value.
  63. Select Save.
  64. Close the page.
  65. Select Save.