Generating Electronic Invoices for Brazil

Note:

To access the Brazil Localization SuiteApp documentation in Brazilian Portuguese (Português do Brasil), see Brazil Localization.

After you create one of the following transactions including Brazil-specific information, generate and certify the electronic invoice.

Tip:

If an error occurs during the e-document generation, review the E-Document Audit Trail subtab and the execution logs for the E-Document Generation Service SU script (Script ID: customscript_ei_generation_service_su). For more information about script logs, see Viewing a List of Script Execution Logs.

To generate an electronic invoice for Brazil:

  1. Go to the transaction from which you want to generate the electronic invoice.

  2. Verify if the system assigned a number to the e-document.

    1. Click the E-Document subtab.

    2. Click the E-Document Certification subtab.

      • For an electronic invoice for services, verify the RPS Number field.

      • For an electronic invoice for goods, verify the Certified E-Document Number field.

    3. If the field is empty, click Edit.

    4. Click Save.

      Repeat the previous steps to check if NetSuite assigned a number to the e-document.

  3. Click Generate E-Document.

  4. Click Certify E-Document.

  5. Refresh the page until the Certified E-Document Status field on the E-Document Certification subtab is set as Certified or Rejected.

  6. (Optional) If the status is Certified, you can do the following:

    1. To download the XML representation of the e-document, in the Certified E-Document File field, click Download.

    2. To download the PDF representation of the e-document, in the Certified E-Document PDF File field, click Download.

    3. To send the certified e-document to the customer, click Send E-Document.

  7. (Optional) If the status is Rejected, you can do the following:

    1. Click the E-Document Audit Trail subtab.

    2. Review the details.

    3. Click the E-Document Certification subtab.

    4. In the Return Message field, review the message.

    5. In the E-Document Certification Return field, click View.

      The e-document certification return record opens. In it, you can review more details about the e-document certification.

      Note:

      Review the return message and other error details. Depending on the error, you may need to edit the transaction. To retry the certification, generate the e-document again, and then certify it.

Related Topics

General Notices