Evidence Summary
- Create route
/vendas/ft/create- Final view
/vendas/ft/view/OTk5OTAxNjgy- Created invoice
999901682 / FT 9999/1682- Customer
[910] 100 Ouvidos Lda- Alternate billing name
AI Alternate Billing 20260519- Evidence file
raw/playwright/workflows/latest-sales-invoice-billing-address.json
When to Use This
Use this when the invoice should be issued to the selected customer account but with a billing name or address different from the customer master-data main contact.
Step-by-Step
- Open Sales / Invoice [FT], then click New document, or navigate directly to
/vendas/ft/create. - Select the customer. The verified run used
[910] 100 Ouvidos Lda. - Find the billing address selector. The field is
#select_MoradaFact/MoradaFact. - Choose Other Addresses. OfficeGest changes
MoradaFactfrom-DEFto-OTRand unlocks the billing address fields. - Enter the billing name and address. The verified run used name
AI Alternate Billing 20260519, addressRua Alternativa OfficeGest 123, localityLeiria, postal code2400-001, countryPRT. - Confirm VAT, seller, employee, payment term, and reference.
- Add at least one document line. The verified run inserted article
AI-DEMO-20260519-021105, quantity1, warehouse1. - Click Save and Finish, then confirm the Are you sure? dialog.
- Verify the final invoice view and FT list. The verified FT list row showed
nomefact: AI Alternate Billing 20260519.
Verified Behavior
| Check | Observed result |
|---|---|
| Default billing address | -DEF / Main Contact, filled from customer 910. |
| Alternate mode | -OTR / Other Addresses unlocked NomeFact, Morada, Localidade, and CodPostal. |
| Final save payload | saveDocument submitted MoradaFact=-OTR, NomeFact=AI Alternate Billing 20260519, Morada=Rua Alternativa OfficeGest 123, Localidade=Leiria, CodPostal=2400-001, and CodPais=PRT. |
| Final view nuance | The final view kept the alternate name/address fields, even though the address selector displayed -DEF again. |
| List state | The FT list returned FT 9999/1682 as ABR / Open with nomefact: AI Alternate Billing 20260519. |
Backend Calls Observed
| Action or endpoint | Purpose |
|---|---|
NameEntidades | Loads customer billing data after customer selection. |
Sel2_Select&table=moradase | Loads available customer address options for the selected customer. |
loadArtigoReducido / insertLinhaTabDoc | Loads and inserts the invoice article line. |
saveDocument | Saves the final FT invoice with alternate billing fields. |
DT_List_Documentos | Verifies the invoice list row after save. |
Raw evidence: raw/playwright/workflows/sales-invoice-billing-address-20260519T194417Z.json. Screenshots: assets/screenshots/sales-invoice-billing-address-20260519T194417Z-01-create-page.png through assets/screenshots/sales-invoice-billing-address-20260519T194417Z-04-final-view.png.