Evidence Summary
- Create route
/vendas/ft/create- Final view
/vendas/ft/view/OTk5OTAxNjg4- Created invoice
999901688 / FT 9999/1688- Customer
[910] 100 Ouvidos Lda- Classification
CF/[CF] Cliente Final- Evidence file
raw/playwright/workflows/latest-sales-invoice-classification.json
When to Use This
Use classification when the invoice should be grouped for reporting, segmentation, or internal analysis. This is a document header field and does not change the article, warehouse, VAT, or payment behavior by itself in the verified run.
Step-by-Step
- Open Sales / Invoice [FT], then click New document, or navigate directly to
/vendas/ft/create. - Select the customer and confirm the mandatory invoice fields. The verified run used customer
910, seller1, and employee1. - Open the invoice details area and locate the classification field
#doc_CodClassif. - Choose the classification. The verified run selected
CF/ Cliente Final. - Add at least one document line. The verified run inserted article
AI-DEMO-20260519-021105, quantity1, warehouse1. - Click Save and Finish, then confirm the Are you sure? dialog.
- Verify the saved invoice view still shows the selected classification.
Observed Classification Options
| Code | Label |
|---|---|
CF | Cliente Final |
LJW1 | Loja Web 1 |
LJW2 | Loja Web 2 |
MIC001 | Escritórios até 10 funcionário |
MOTP01 | Gabinetes de Contabilidade |
MOTP02 | Particulares |
MOTP03 | Micro-Empresas |
MOTP04 | Serralharias |
OFI001 | Oficinas até 5 colaboradores |
OFI002 | Oficinas de 6 a 15 colaborador |
OFI003 | Oficinas com mais de 16 colab. |
PME001 | PME - Escritórios Advogados |
Verified Behavior
| Check | Observed result |
|---|---|
| Before save | The create form held #doc_CodClassif=CF with label [CF] Cliente Final. |
| Final save payload | The nested saveDocument form payload submitted CodClassif=CF. |
| Final view | The saved FT view retained #doc_CodClassif=CF. |
| List state | The FT list returned FT 9999/1688 as ABR / Open with total and pending value 1.97. |
Backend Calls Observed
| Action or endpoint | Purpose |
|---|---|
NameEntidades | Loads customer billing data after customer selection. |
loadArtigoReducido / insertLinhaTabDoc | Loads and inserts the invoice article line. |
saveDocument | Saves the final FT invoice with CodClassif=CF. |
DT_List_Documentos | Verifies the invoice list row after save. |
Raw evidence: raw/playwright/workflows/sales-invoice-classification-20260519T201417Z.json. Screenshots: assets/screenshots/sales-invoice-classification-20260519T201417Z-01-create-page.png through assets/screenshots/sales-invoice-classification-20260519T201417Z-03-final-view.png.