public function sendEmailReceipt($number, $id = null)
    {
        $this->_requireIdentifier($number, $id);
        return new CheddarGetter_Response(
                                                                                $this->request(
                                                                                    '/invoices/send-email/' . (($id) ? 'id/'.$id : 'number/'.$number),
                                                                                    array(
                                                                                        'bogus' => 'make this a post'
                                                                                    )
                                                                                    )
                                                                                );
    }
public function sendEmailReceipt($number, $id = null)
    {
        $this->_requireIdentifier($number, $id);
        return new CheddarGetter_Response(
                                                                                $this->request(
                                                                                    '/invoices/send-email/' . (($id) ? 'id/'.$id : 'number/'.$number),
                                                                                    array(
                                                                                        'bogus' => 'make this a post'
                                                                                    )
                                                                                    )
                                                                                );
    }
public function sendEmailReceipt ( $ number , $ id = null ) { $ this -> _requireIdentifier ( $ number , $ id ) ; return new CheddarGetter_Response ( $ this -> request ( '/invoices/send-email/' . ( ( $ id ) ? 'id/' . $ id : 'number/' . $ number ) , array ( 'bogus' => 'make this a post' ) ) ) ; }
Send an invoice receipt email

Resend an invoice receipt email. For any transacted invoice.
Relevant email notification must be enabled in CG config.

@link https://cheddargetter.com/developers#send-email
@link http://support.cheddargetter.com/kb/operational-how-tos/email-notification-templates-overview#payment-receipt
@param string $number The unique number of the invoice.
@param string|null $id CG id of the invoice
@return CheddarGetter_Response
@throws CheddarGetter_Response_Exception
Send an invoice receipt email