Workflow

How to Create a Supplier Payment Note RF

Verified end to end. Demo run supplier-payment-rf-20260519T071455Z created supplier payment note RF 9999/74 / 999900074 for supplier [100] AI Demo Supplier 20260519T030323Z and settled source invoice FAF 9999/342.

Evidence Summary

Create route
/compras/rf/create
List route
/compras/rf
Workflow run
supplier-payment-rf-20260519T071455Z
Created payment note
999900074 / RF 9999/74
Settled source
999900342 / FAF 9999/342
Evidence file
raw/playwright/workflows/latest-supplier-payment-rf.json

Verified Supplier Payment Note RF workflow

When to Use This

Use Payment Note [RF] to pay or liquidate one or more open supplier documents. The verified run selected an open supplier invoice FAF 9999/342, moved it into the payment list, added a cash payment, and saved a closed RF document.

Step-by-Step

  1. Open Purchases / Payment Note [RF], then click the create action, or navigate directly to /compras/rf/create.
  2. Confirm the page title is OG - Payment Note [RF]. The create page exposes tabs for Supplier, Details, Recomendations, and Document.
  3. Select the supplier. The verified run used supplier 100, AI Demo Supplier 20260519T030323Z, VAT 590303236.
  4. Wait for OfficeGest to load the pending supplier documents. The verified pending document was FAF 9999/342, supplier reference AI-FAF-20260519T070810Z, total 1.51, paid 0, and due date 20/05/2026.
  5. Select the document to pay and click Liquidar. OfficeGest calls changeEstadoRecibo and moves the row from pending state F to selected state T.
  6. Confirm the selected document total. The verified RF showed total/value to pay 1.51.
  7. Choose a payment method. The verified run used [NUM] Numerario, which created a payment line for 1.51 with outbox [0] Caixa 0.
  8. Click End.
  9. Confirm the Are you sure? dialog if shown.
  10. OfficeGest posts saveDocumentRecibo. The verified response was 999900074&=&OKDOC&=&.
  11. Verify the RF list. Search 999900074 on /compras/rf; the verified row showed RF 9999/74, supplier 100, total 1.51, and status F / Closed.
  12. Verify the source FAF list. Search 999900342 on /compras/faf; the verified invoice changed from ABR / Open with ValorPago=0 to LIQ / Finished with ValorPago=1.51.

Verified RF Values

FieldValue
RF internal number999900074
Visible RF numberRF 9999/74
Supplier[100] AI Demo Supplier 20260519T030323Z, VAT 590303236
Route/list identity/compras/rf, table RecibosF, recibo=T, actualizacc=T, tipoop=RF, tipoterc=F.
RF statusF, visible as Closed.
RF total1.51. The RF list reports ValorPago=0 for the RF itself.
Settled supplier invoice999900342 / FAF 9999/342, supplier reference AI-FAF-20260519T070810Z.
Source invoice resultFAF changed to LIQ / Finished with ValorPago=1.51, total 1.51, validation N/D.
Payment[NUM] Numerario, outbox [0] Caixa 0, value 1.51, estimated date 19/05/2026.

Backend Calls Observed

Action or endpointPurpose
DT_List_DocumentosF&table=RecibosFLists supplier payment notes with recibo=T, actualizacc=T, tipoop=RF, and tipoterc=F.
DT_List_DocumentosF&table=FactFVerifies the source FAF before and after payment.
NameEntidades&tabla=FornLoads supplier master data after selecting supplier 100.
loadTabDocumentoReciboFLoads the supplier payment-note document context for tipoop=RF, supplier 100, and temporary id 47645.
listaTabDocumentoRecibo&estado=FLoads pending supplier documents. The verified row was FAF 9999/342 with pending value 1.51.
listaTabDocumentoRecibo&estado=TLoads supplier documents selected to pay.
changeEstadoReciboMoves the selected FAF row from pending to selected. The verified response was {"success":true}.
payment&option=addAdds the payment line. The verified request used compras=T, entidade=100, modopagamento=NUM, modobase=N, total=1.51, and tipoop=RF.
payment&option=validateValidates that the payment covers the RF total before final save.
saveDocumentReciboSaves the RF. The verified payload included TipoOp=RF, CodTipoLanc=AccReciboF, and totAPagar=1.51.
payment&option=get_paymentLoads the payment card on the saved RF view.

Raw evidence: raw/playwright/workflows/supplier-payment-rf-20260519T071455Z.json. Probe evidence: raw/playwright/compras-rf-create-probe.json. Screenshots: assets/screenshots/supplier-payment-rf-20260519T071455Z-01-create-page.png through assets/screenshots/supplier-payment-rf-20260519T071455Z-05-rf-list.png.

Validation Notes