Gigstack icon

Gigstack

Interact with Gigstack API for Mexican tax-compliant invoicing and payments

Invoice → Delete Draft

AI-generated

Overview

This node operation deletes a draft invoice in the Gigstack system. It is useful for scenarios where a draft invoice is no longer needed or was created by mistake and needs to be removed to keep the invoice records clean. For example, a user might create a draft invoice for a client but then decide not to proceed with it, so they use this operation to delete that draft.

Use Case Examples

  1. Deleting a draft invoice by specifying its Draft ID to remove it from the system.
  2. Cleaning up unused or obsolete draft invoices automatically as part of an invoice management workflow.

Properties

Name Meaning
Draft ID The ID of the draft invoice to be deleted.
Team ID Team ID for Gigstack Connect (multi-team access). Leave empty to use default team.

Output

JSON

  • json - The response from the Gigstack API after deleting the draft invoice, typically confirmation of deletion or status message.

Dependencies

  • Requires an API key credential for Gigstack API authentication.

Troubleshooting

  • Common issues include providing an invalid or non-existent Draft ID, which will result in an error from the API indicating the draft could not be found.
  • If the Team ID is incorrect or the user does not have access to the specified team, the operation may fail due to permission errors.
  • Network or authentication errors can occur if the API key credential is missing or invalid.

Discussion