templates/Invoiceitem.template.js
function (invoiceitem, cb) {

		Invoiceitem.destroy(invoiceitem.id)
	    .exec(function (err, destroyedInvoiceitems){
	      if (err) return cb(err);
	      if (!destroyedInvoiceitems) return cb(null, null);
	      Invoiceitem.afterStripeInvoiceitemDeleted(destroyedInvoiceitems[0], function(err, invoiceitem){
	      	cb(err, invoiceitem);
	      });
	    });
	}
function (invoiceitem, cb) {

		Invoiceitem.destroy(invoiceitem.id)
	    .exec(function (err, destroyedInvoiceitems){
	      if (err) return cb(err);
	      if (!destroyedInvoiceitems) return cb(null, null);
	      Invoiceitem.afterStripeInvoiceitemDeleted(destroyedInvoiceitems[0], function(err, invoiceitem){
	      	cb(err, invoiceitem);
	      });
	    });
	}
function ( invoiceitem , cb ) { Invoiceitem . destroy ( invoiceitem . id ) . exec ( function ( err , destroyedInvoiceitems ) { if ( err ) return cb ( err ) ; if ( ! destroyedInvoiceitems ) return cb ( null , null ) ; Invoiceitem . afterStripeInvoiceitemDeleted ( destroyedInvoiceitems [ 0 ] , function ( err , invoiceitem ) { cb ( err , invoiceitem ) ; } ) ; } ) ; }
Stripe Webhook invoiceitem.deleted
Stripe Webhook invoiceitem . deleted