Permanently delete a retail invoice and its associated data.
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/azfar-imtiaz/PayPulse-Cloud/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header.
RetailInvoices DynamoDB table.FoodDeliveryInvoices, ClothingInvoices, TechnologyInvoices, SubscriptionInvoices, GroceryInvoices, MiscUtilityInvoices, MiscInvoices, TravelInvoices)."Invoice deleted successfully"200 on success.| Status | Error code | Description |
|---|---|---|
400 | MISSING_FIELDS | The invoice_id path parameter is absent. |
401 | INVALID_CREDENTIALS | The Authorization header is missing or the token is invalid. |
401 | TOKEN_EXPIRED | The JWT has expired. |
404 | INVALID_REQUEST | No invoice found for the given invoice_id, or the invoice belongs to a different user. |
502 | DEPENDENCY_FAILURE | A downstream dependency (DynamoDB or S3) returned an error during deletion. |
500 | INTERNAL_SERVER_ERROR | An unexpected server-side error occurred. |