Workflow

How to Use Batch Billing

Page and filter behavior verified. Probe vendas-faturacaolote-interaction-probe.json opened /vendas/faturacaolote and clicked Filter. The default filter returned no eligible rows, so the final Invoice & Send email action was not clicked.

Evidence Summary

Route
/vendas/faturacaolote
Page title
OG - Batch Billing
Probe file
raw/playwright/vendas-faturacaolote-interaction-probe.json
Screenshot
assets/screenshots/probe-vendas-faturacaolote-interaction-after-filter.png

Observed Batch Billing workflow

When to Use This

Use Batch Billing when eligible sales documents should be converted into invoices in bulk and optionally sent by email. This is a high-impact utility because the final action can create invoices and trigger email delivery.

Step-by-Step

  1. Open Sales / Batch Billing, or navigate directly to /vendas/faturacaolote.
  2. Set Customers and Sellers if the batch should target a specific customer or salesperson.
  3. Set the date range using Since and to.
  4. Choose Serial Num and Document Type so OfficeGest knows which eligible source documents to invoice.
  5. Use Group the documents in one file if selected documents should be grouped into one generated file.
  6. Use Nao processar clientes com adiantamentos em aberto to skip customers with open advances.
  7. Click Filter to populate the batch table.
  8. Review the table columns NUM., DATE, CUSTOMER, and TOTAL.
  9. Select individual rows or use select_all.
  10. Click Invoice & Send email only after confirming the selected documents and series. The page includes a required series modal field serieDoc and a Save button for that modal.

Verified Filter Result

Observed valueDetail
Default resultThe verified default filter changed the table body but returned No data available in table.
Button stateThe action button stayed Invoice & Send email(0).
Main controlscliente, vendedor, dataini, datafim, NSerie, tipoDoc, agrupar, nao_processar_adiant, select_all, and table search fields.
Series modalHidden form form_serie contains required select serieDoc; modal buttons are modal_serie_buttonClose and modal_serie_buttonSave.

Backend Calls Observed

Action or endpointPurpose
get_home_news and notifications option=get_new_notificationsBackground page-load calls captured during the probe.
faturar_loteConfigured by page script for the final batch billing operation. The observed logic sends selected document ids as docs, document operation as tipoop, grouping flag agrupar, and the selected target series serieDoc. It presents a Bootbox Are you sure? confirmation. This action was not executed in the probe.

Validation Notes