Workflow

How to Prepare a Sales Invoice Email

Verified up to the send boundary. Demo run sales-invoice-prepare-email-20260519T213657Z opened FT 9999/1699, used Communicate / Send email, loaded the document email composer, and confirmed no email send request was submitted.

Evidence Summary

Invoice view
/vendas/ft/view/OTk5OTAxNjk5
Source invoice
999901699 / FT 9999/1699
Menu path
Communicate / Send email
Composer modal
#sendEmail
Evidence file
raw/playwright/workflows/latest-sales-invoice-prepare-email.json

Verified sales invoice email preparation workflow

When to Use This

Use this when the user wants to email an already-issued invoice and needs to know what OfficeGest loads before the final send. The verified run intentionally stopped before clicking Send, because that can send an external email.

Step-by-Step

  1. Open Sales / Invoice [FT].
  2. Find the invoice in the list and open its view page. The verified run used FT 9999/1699.
  3. On the invoice view action bar, click Communicate.
  4. Choose Send email.
  5. Wait for the Send email modal to open.
  6. Review To, Language, CC, BCC, Subject, the email body, Other documents annexed, and Additional attachments.
  7. Only click Send after the recipient, subject, content, and attachments are correct.

What OfficeGest Loaded

AreaObserved detail
Document bindingThe modal hidden fields used tipoop=FT, num=999901699, tabela=Fact, tabelaEnt=clientes, namedoc=Invoice, and codterc=910.
Recipient optionsThe To, CC, and BCC selectors offered demo@example.com from the customer file and luis.santos@guisoft.net as collaborator.
LanguageThe language selector offered Portuguese, Spanish, and English; the verified modal defaulted to en.
Template databody_email_data returned template cli_documentos. The Portuguese template subject was Envio de Documentos and the body referenced FT 9999/1699, total 3,69, and due date 20/05/2026.
AttachmentsThe modal included Other documents annexed and Additional attachments controls, including a file input named attach_email[].

Verified Behavior

CheckObserved result
Menu availabilityThe saved FT view exposed Communicate with SMS, Whatsapp, Send email, and Copy document`s public link.
Email data requestClicking Send email posted action=documents, option=body_email_data, num=999901699, tipoop=FT, codterc=910, and tipoterc=C.
Modal stateThe #sendEmail modal was visible with title Send email and the expected document binding fields.
No sendThe verified run did not submit any send-email request. It also did not send SMS or WhatsApp, create a document, change payment state, or change stock.

Backend Calls Observed

Action or endpointPurpose
countersLoads ticket counters attached to the invoice view.
listaTabDocumentoLoads the saved invoice line data shown on the view.
create_document&option=calcular_totaisRecalculates view totals for the existing FT.
documents&option=body_email_dataLoads the email template, document context, and email body data for the invoice.

Raw evidence: raw/playwright/workflows/sales-invoice-prepare-email-20260519T213657Z.json. Screenshots: assets/screenshots/sales-invoice-prepare-email-20260519T213657Z-01-saved-invoice-view.png and assets/screenshots/sales-invoice-prepare-email-20260519T213657Z-02-send-email-modal.png.