Cancel invoice automatically
ayrancd
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Sep-11-2020
06:27 AM
Is it possible to cancel an invoice if it is overdue? I'm invoicing using the REST API and I have this overdue invoice https://www.sandbox.paypal.com/invoice/p/#INV2-VV2P-3SWS-YQXC-C8GM and I can still pay for it but I'd like to not allow users to pay if it is overdue and cancel that invoice automatically. Tks in advance!
Labels:
- Labels:
-
Payments REST APIs
2 REPLIES 2

Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep-14-2020
03:29 AM
Hello Ayrancd,
You can use the cancel Invoice call:
https://developer.paypal.com/docs/api/invoicing/v2/#invoices_cancel
Kind Regards,
Stefan
You can use the cancel Invoice call:
https://developer.paypal.com/docs/api/invoicing/v2/#invoices_cancel
Kind Regards,
Stefan
ayrancd
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep-16-2020
05:46 AM
Hi Stefan,
Thank you for replying to me. I know I can cancel an invoice manually but my question is: Can the invoice be cancelled automatically if it is overdue?

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Paypal subscription Api in REST APIs
- How to Enable or Disable Subscription Auto-Renewal? in REST APIs
- How to test Subscription payments in Sandbox Environment
- How to determine if a buyer or merchant cancelled an invoice in REST APIs
- Error "only single currency unit allowed per invoice" related to minimum_amount_due in PayPal Payments Standard