Update billing statuses

Record each sales order's invoice number and billing status on the order.