receive payment on an invoice
That tells me you are talking about sales
freight paid by the customer is income, typically I post that freight income to its own account called pre-paid shipping. The freight you pay is either part of the inventory item cost, or an expense if you are not buying inventory.
Which account gets posted to is determined by the item you use on the invoice, typically for this you would use a service item linked to the income account, pre-paid shipping