You create a sales invoice or sales order to record your agreement with a customer to sell certain products on certain delivery and payment terms.