The Cancel Invoice endpoint allows you to update the status of a previously created invoice, marking it as “canceled.” This is useful for situations where an invoice needs to be invalidated, either due to a customer return, error, or other issues that necessitate cancellation.
Key Features:
- Cancel Invoice: Change the status of an invoice to “canceled,” effectively invalidating it.
- Efficient Management: Easily manage invoices that need to be canceled without needing to delete them completely.
- Secure Access: Ensure that only authorized users can cancel invoices through header authentication.
Required Parameters:
- key-hash: Provided in the request headers for secure access.
- Invoice ID: The ID of the invoice you want to cancel.
- Status Change: Update the invoice’s status field to “canceled.”
Usage Notes:
- Ensure the correct invoice ID is provided to target the invoice to be canceled.
- The cancellation will reflect immediately, and the invoice status will be marked as “canceled.”
Benefits:
- Helps manage invoice workflows by ensuring invoices that need to be canceled are done so accurately.
- Useful for financial reconciliation or correcting mistakes in billing.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article