code: public function removeInvoice(InvoiceInterface $invoice)
      {
          if ($this->invoices->contains($invoice)) {
              $this->invoices->removeElement($invoice);
          }
  
          return $this;
      }
docs: Removes the invoice.
  
  @param InvoiceInterface $invoice
  
  @return Notify