Workflow

How to Create a Supplier Simplified Invoice FSF

Verified end to end. Demo run supplier-simplified-invoice-fsf-20260519T073106Z created supplier document FSF 9999/2 / 999900002 for supplier [100] AI Demo Supplier 20260519T030323Z, paid it immediately, and verified the warehouse stock increase.

Evidence Summary

Create route
/compras/fsf/create
List route
/compras/fsf
Workflow run
supplier-simplified-invoice-fsf-20260519T073106Z
Created document
999900002 / FSF 9999/2
Evidence file
raw/playwright/workflows/latest-supplier-simplified-invoice-fsf.json

Verified Supplier Simplified Invoice FSF workflow

When to Use This

Use Making facilitator. Forn. [FSF] for the supplier-side simplified invoice flow. In the verified demo it behaved as a paid-at-creation supplier document: article stock moved, a payment row was required, and the final document was immediately finished.

Step-by-Step

  1. Open Purchases / Making facilitator. Forn. [FSF], then click the create action, or navigate directly to /compras/fsf/create.
  2. Confirm the page title is OG - Making facilitator. Forn. [FSF]. The form includes hidden TipoOp=FSF and MovimentaStock=1.
  3. Select the supplier. The verified run used supplier 100, AI Demo Supplier 20260519T030323Z, VAT 590303236.
  4. Enter the supplier reference in Supplier`s N.. The verified run used AI-FSF-20260519T073106Z, checked by findNumNoForn against table FactSimF.
  5. Confirm document date 19/05/2026, due date 20/05/2026, series 9999, collaborator Demo, and payment condition PP.
  6. Add the article line. The verified run used article AI-DEMO-20260519-021105, quantity 1, warehouse 1, unit cost 1.23, VAT 23%, and total 1.51.
  7. Click End.
  8. When the payment modal opens, choose [NUM] Numerario. OfficeGest creates a payment row for the full total.
  9. Click Save in the payment modal, then confirm the Are you sure? dialog.
  10. OfficeGest posts saveDocument. The verified response was {"return":"999900002%&=&OKDOC&=&"}.
  11. Verify the FSF list. Search 999900002 on /compras/fsf; the verified row showed FSF 9999/2, status LIQ / Finished, total 1.51, and ValorPago=1.51.
  12. Verify stock if the document includes stock-moving articles. The verified run changed warehouse 1 stock from 3 to 4.

Verified FSF Values

FieldValue
Internal number999900002
Visible documentFSF 9999/2
Supplier referenceAI-FSF-20260519T073106Z
Supplier[100] AI Demo Supplier 20260519T030323Z, VAT 590303236
Route/list identity/compras/fsf, table FactSimF, tipoop=FSF, tipoterc=F, actualizacc=T, recibo=F.
StatusLIQ / Finished, validation N/D.
Total/paymentTotal 1.51; paid value 1.51; payment method NUM.
Stock effectWarehouse 1 physical stock for the demo article changed from 3 to 4; customer-order quantity stayed 4; supplier-order quantity stayed 1.

Backend Calls Observed

Action or endpointPurpose
NameEntidades&tabla=FornLoads supplier master data after selecting supplier 100.
findNumNoFornChecks duplicate supplier reference. The verified request used tabela=FactSimF, forn=100, and numnoforn=AI-FSF-20260519T073106Z.
loadArtigoReducido&compras=TLoads purchase article metadata, including current warehouse stock 3, cost 1.23, and VAT 23.
insertLinhaTabDocInserts the FSF line with id_tipoop=FSF, cliente=100, isforn=T, quantity 1, and warehouse 1.
price_variation_articleChecks supplier/article price variation for supplier 100.
create_document&option=calcular_totaisCalculates FSF totals. The verified total was 1.51.
payment&option=validateChecks payment coverage before save.
payment&option=addAdds the payment row. The verified request used compras=T, entidade=100, modopagamento=NUM, modobase=N, total=1.51, and tipoop=FSF.
saveDocumentSaves the FSF. The verified payload used TipoOp=FSF, CodTipoLanc=AccVDinFMerc, NumNoForn=AI-FSF-20260519T073106Z, MovimentaStock=1, and id=47781.
payment&option=get_paymentLoads payment data on the saved FSF view.
DT_List_DocumentosF&table=FactSimFVerifies the saved FSF list row.
dt_list_recalc_stock_articles_lojasVerifies warehouse stock after saving the FSF.

Raw evidence: raw/playwright/workflows/supplier-simplified-invoice-fsf-20260519T073106Z.json. Screenshots: assets/screenshots/supplier-simplified-invoice-fsf-20260519T073106Z-01-create-page.png through assets/screenshots/supplier-simplified-invoice-fsf-20260519T073106Z-04-fsf-list.png.