Evidence Summary
- Route
/vendas/fs/create- Final document
999900011 / FS 9999/11- Customer
[910] 100 Ouvidos Lda- Payment split
[NUM] Numerario1.00and[TRA] Transferencia Bancaria0.97- Evidence file
raw/playwright/workflows/latest-simplified-invoice-split-payment.json
When to Use This
Use split payment when the customer pays one simplified invoice with more than one payment method, such as part cash and part bank transfer. OfficeGest accepts the FS only when the sum of all payment rows covers the document total.
Step-by-Step
- Open Sales / Simplified Invoice [FS], or navigate to
/vendas/fs/create. - Select the billing customer. The verified run used
[910] 100 Ouvidos Lda. - Add the article or service lines and review totals. The verified document total was
1.97. - Click End to open the Payment modal.
- Select the first payment method. The verified run added [NUM] Numerario and set its value to
1.00. - Select the second payment method. The verified run added [TRA] Transferencia Bancaria; OfficeGest filled the remaining value
0.97. - Confirm that the payment total equals the document total. In the verified run, the payment total was
1.97. - Click Save in the Payment modal.
- Confirm the Are you sure? dialog with OK.
- OfficeGest saves the document and redirects to the final FS view.
Verified Behavior
| Check | Observed result |
|---|---|
| Before payment | Customer 910 selected and one line inserted, total 1.97. |
| First payment row | payment&option=add created a NUM line with value 1. |
| Second payment row | Adding TRA with document total 1.97 created the remaining value 0.97. |
| Payment validation | payment&option=validate returned valid:true and troco:0. |
| Final save | saveDocument returned OKDOC and redirected to /vendas/fs/view/OTk5OTAwMDEx. |
| FS list result | FS 9999/11 was LIQ / Finished with ValorPago=1.97 and pending value 0.00. |
| Stock effect | Warehouse 1 stock moved from -30 to -31. |
Raw evidence: raw/playwright/workflows/simplified-invoice-split-payment-20260519T230345Z.json. Screenshots: assets/screenshots/simplified-invoice-split-payment-20260519T230345Z-01-fs-line-before-payment.png through assets/screenshots/simplified-invoice-split-payment-20260519T230345Z-04-fs-list.png.