/** * Gets Bf_CreditNotes for this Bf_Invoice. * @return Bf_CreditNote[] */ public function getCreditNotes($options = NULL, $customClient = NULL) { $invoiceID = Bf_Invoice::getIdentifier($this); return Bf_CreditNote::getForInvoice($invoiceID, $options, $customClient); }