Actions82
- Client Actions
- Invoice Actions
- Payment Actions
- Receipt Actions
- Service Actions
- Team Actions
- User Actions
- Webhook Actions
- Descarga Masiva (SAT) Actions
Invoice → Cancel
AI-generatedOverview
This node operation cancels an invoice in the Gigstack system. It requires the invoice ID and a cancellation motive code, with an optional substitution UUID if the motive is '01'. This operation is useful for users who need to void or retract invoices due to errors or other reasons, ensuring compliance with Mexican tax regulations.
Use Case Examples
- Cancel an invoice by providing its ID and a cancellation motive code, optionally including a substitution UUID if the cancellation is related to an invoice substitution.
- Use this operation to manage invoice cancellations programmatically within an automated workflow.
Properties
| Name | Meaning |
|---|---|
| Invoice ID | The ID of the invoice to be canceled. |
| Cancellation Motive | The SAT cancellation motive code indicating the reason for cancellation. |
| Substitution UUID | UUID of the invoice that substitutes this one, required if the cancellation motive is '01' (related substitution). |
| Team ID | Team ID for Gigstack Connect multi-team access; leave empty to use the default team. |
Output
JSON
motive- The cancellation motive code used for the invoice cancellation.substitution_uuid- The substitution UUID if provided for motive '01'.invoiceId- The ID of the invoice that was canceled.response- The response from the Gigstack API confirming the cancellation.
Dependencies
- Gigstack API with appropriate API key credentials
Troubleshooting
- Ensure the invoice ID is correct and exists in the Gigstack system to avoid 'not found' errors.
- If using cancellation motive '01', the substitution UUID must be provided; otherwise, the API will reject the request.
- Check that the API credentials are valid and have permissions to cancel invoices.
- Network or API downtime can cause request failures; retry or check API status if errors occur.
Links
- Gigstack API Documentation - Cancel Invoice - Official API documentation for canceling invoices using the Gigstack API.