Delete Draft or Scheduled Invoice
Call delete invoice to delete a draft or scheduled invoice by ID. After you delete a draft or scheduled invoice, you can no longer use it or show its details. However, you can reuse its invoice number. You cannot delete invoices once they are sent. If you no longer need a sent invoice, call cancel sent invoice.
This sample request deletes a draft invoice:
curl -v -X DELETE \ https://api-m.sandbox.paypal.com/v2/invoicing/invoices/INV2-Z56S-5LLA-Q52L-CPZ5 \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <Access-Token>"
A successful request returns the HTTP
204 No Content status code with no JSON response body.
Continue to Cancel Sent Invoice.