Evidence Summary
- Route
/vendas/r/create- Final receipt
999900247 / R 9999/247- Settled invoice
999901701 / FT 9999/1701- Customer
[910] 100 Ouvidos Lda- Payment split
[NUM] Numerario1.00and[TRA] Transferencia Bancaria0.97- Evidence file
raw/playwright/workflows/latest-receipt-r-split-payment.json
When to Use This
Use this when a customer is paying an open invoice with more than one payment method. The receipt still settles the selected invoice only when the combined payment rows cover the value to pay.
Step-by-Step
- Open Sales / Receipt [R], or navigate to
/vendas/r/create. - Select the customer. The verified run used
[910] 100 Ouvidos Lda. - In Outstanding documents, select the invoice to settle and move it into Documents. The verified run moved
FT 9999/1701. - Confirm the value to pay. The verified receipt total was
1.97. - Add the first payment method. The verified run added [NUM] Numerario with value
1.00. - Add the second payment method. The verified run added [TRA] Transferencia Bancaria for the remaining
0.97. - Confirm that the payment total equals the receipt value to pay.
- Click End and confirm the Are you sure? dialog.
- Verify the receipt list shows the receipt closed, and verify the source invoice is
LIQ/ Finished with pending value0.00.
Verified Behavior
| Check | Observed result |
|---|---|
| Source document | FT 9999/1701 was moved from Outstanding documents to Documents. |
| Payment rows | payment&option=add created NUM 1.00, then TRA 0.97. |
| Payment validation | payment&option=validate returned valid:true and troco:0. |
| Final save | saveDocumentRecibo returned OKDOC and redirected to /vendas/r/view/OTk5OTAwMjQ3. |
| Receipt list result | R 9999/247 was F / Closed with total 1.97. |
| Invoice settlement | FT 9999/1701 became LIQ / Finished with ValorPago=1.97 and pending value 0.00. |
Raw evidence: raw/playwright/workflows/receipt-r-split-payment-20260519T230946Z.json. Screenshots: assets/screenshots/receipt-r-split-payment-20260519T230946Z-01-create-page.png through assets/screenshots/receipt-r-split-payment-20260519T230946Z-06-receipt-list.png.