Creating Sales Branches
Sales branch and sales person are specified in account. If sales branch and sales person are not specified in order, invoice inherits these settings from account. If you specify these settings in order while it is not provisioned, invoice inherits sales branch and sales person settings from the order. Also you can change these settings directly in invoice.
Also parameters "SalesPersonID" and "SalesBranchID" can be used in redirects.