Set up NF-e federal parameters (Brazil)
You can set up Nota Fiscal eletrônica (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). This task uses the BRMF demo company.
- Go to Organization administration > Organizations > Electronic fiscal documents > NF-e federal parameters.
- Click New.
- One tax authority must be created per state.
- In the Authority field, type a value.
- In the Name field, type a value.
- Select the Ignore accents check box.
- Select the Cancel as Event check box.
- This option complies with the cancellation of NF-e through events instead of a specific XML cancellation file.
- Click Save.
- Click New.
- In the Environment field, select an option.
- Select the web service for NF-e authorization.
- In the Version field, type a value.
- In the Internet address field, type a value.
- Click New.
- In the Environment field, select an option.
- Select the web service for NF-e discard.
- In the Version field, type a value.
- In the Internet address field, type a value.
- Click New.
- In the Environment field, select an option.
- Select the web service for NF-e inquiries.
- In the Version field, type a value.
- In the Internet address field, type a value.
- Click New.
- In the Environment field, select an option.
- Select the web service for NF-e authorization returns.
- In the Version field, type a value.
- In the Internet address field, type a value.
- Click New.
- In the Environment field, select an option.
- Select the web service for NF-e events.
- In the Version field, type a value.
- In the Internet address field, type a value.
- Click New.
- In the Environment field, select an option.
- Select the web service for NF-e service status inquiries.
- In the Version field, type a value.
- In the Internet address field, type a value.
- Click Save.
- Click the Rejection codes tab.
- Click New.
- Enter the rejection codes that are listed in the official NF-e guide.
- In the NF-e rejection code field, enter the rejection code from the official NF-e guide.
- In the Description field, type a value.
- In the list, mark the selected row.
- In the Message type field, select an option.
- In the Fiscal document status field, select an option.
- Enter the fiscal document status that must be set when the rejection code is entered.
- Click Save.
- Click the Schemas tab.
- Click New.
- When applicable, enter the path of the XSD file that will be used to validate the NF-e XML.
- In the The version of the NF-e feature field, select an option.
- In the Schema field, type a value.
- Click New.
- In the Schema type field, select an option.
- In the The version of the NF-e feature field, select an option.
- In the Schema field, type a value.
- Click New.
- In the Schema type field, select an option.
- In the The version of the NF-e feature field, select an option.
- In the Schema field, type a value.
- Click New.
- In the Schema type field, select an option.
- In the The version of the NF-e feature field, select an option.
- In the Schema field, type a value.
- Click Save.
- Close the page.
- Click Save.