Evidence Summary
- Source pro-forma
999900063 / FP 9999/63- Draft route
/vendas/ft/rasc/NDYz- Final view
/vendas/ft/view/OTk5OTAxNjcw- Workflow run
finalize-converted-proforma-invoice-draft-20260519T170759Z- Created invoice
999901670 / FT 9999/1670- Evidence file
raw/playwright/workflows/latest-finalize-converted-proforma-invoice-draft.json
When to Use This
Use this workflow after a Pro-Forma Invoice [FP] should become a real receivable Invoice [FT]. The saved FP view exposes To convert options for Invoice, Invoice / Receipt, and Internal Doc; this guide covers the verified Invoice path.
This workflow creates and finalizes an FT invoice. It does not record payment; the verified final FT stayed open and unpaid.
Step-by-Step
- Open the saved pro-forma invoice. The verified source was
/vendas/fp/view/OTk5OTAwMDYz, documentFP 9999/63. - Click To convert, then choose Invoice.
- OfficeGest creates an FT draft. The verified response was
"OK:463:vendas"and the draft opened at/vendas/ft/rasc/NDYz. - Confirm the draft is the correct customer, reference, and source pro-forma. The verified draft reference was
AI-FP-FT-FIN-20260519T170759Z. - Review the copied line. The verified line used article
AI-DEMO-20260519-021105, quantity1, and VAT23%. - Check that the draft line points back to the pro-forma:
ndocori=999900063,tipodocori=FP, andlinhandocori=1. - Click Save and Finish.
- Confirm the Are you sure? dialog.
- OfficeGest posts
saveDocumentfrom draft mode and returns the final FT number. The verified response was{"return":"999901670%OK&=&OKDOC&=&","print_documents":[]}. - OfficeGest opens the final invoice view
/vendas/ft/view/OTk5OTAxNjcw, with title OG - FT 9999/1670. - Search the FT list for
999901670and confirm the invoice row exists.
Verified Values
| Field | Value |
|---|---|
| Source pro-forma | 999900063 / FP 9999/63 |
| Converted FT draft | 463, opened at /vendas/ft/rasc/NDYz. |
| Final invoice | 999901670 / FT 9999/1670, opened at /vendas/ft/view/OTk5OTAxNjcw. |
| Final invoice state | ABR / Open, total 1.97, paid 0. |
| Source pro-forma state after conversion | ABR / Open, total 1.97, paid 0. |
| Draft line source | ndocori=999900063, tipodocori=FP, linhandocori=1. |
Backend Calls Observed
| Action or endpoint | Purpose |
|---|---|
facturardoc | Created FT draft 463 from source FP 9999/63. |
listaTabDocumento | Loaded the FT draft line before finalization. |
saveDocument | Finalized the draft into invoice 999901670 / FT 9999/1670. |
DT_List_Documentos | Verified the final FT invoice row in the document list. |
Raw evidence: raw/playwright/workflows/finalize-converted-proforma-invoice-draft-20260519T170759Z.json. Screenshots: assets/screenshots/finalize-converted-proforma-invoice-draft-20260519T170759Z-01-fp-filled.png through assets/screenshots/finalize-converted-proforma-invoice-draft-20260519T170759Z-05-ft-list.png.
Validation Notes
- FT finalization does not mean paid: the verified invoice saved as
ABR/ Open with paid value0. - Use receipts to settle later: after finalizing the FT, use Create a Receipt when the customer pays.
- Source pro-forma remains visible as open: the FP list still showed
FP 9999/63asABR/ Open immediately after conversion/finalization. - Audit link is preserved: the draft line source metadata linked the finalization path back to the source FP line.