post
https://www.pelcro.com/api/v1/core/invoices//void
Void an unpaid invoice.
Overview
Void an unpaid invoice. Voiding an invoice marks it as canceled and prevents any future payment attempts. This action is irreversible.
Example: A customer disputes a charge before payment. Void the invoice to cancel it and prevent collection.
Conditional Requirements
| Condition | Behavior |
|---|---|
| Invoice is an advance invoice | Cannot be voided |
| Invoice is already voided | Cannot be voided again |
| Invoice is already paid | Cannot be voided |
| Invoice is uncollectible | Cannot be voided |
| Invoice has partial payment | Cannot be voided |
Related Endpoints
- Invoices - Overview of the invoices API
- Get Invoice - Get invoice details
- Mark Invoice Uncollectible - Mark as uncollectible instead
