v1

latestOpenAPI 3.0.3Proprietaryraw.githubusercontent.com2026-03-067260437.0 KB
Invoices

Cancel invoice

Cancel a specific invoice with SAT.

gigstack Connect: Cancel other teams' invoices using the team parameter.

delete/invoices/{id}

Path parameters

idstring required

Query parameters

teamstring

gigstack Connect: Target team ID for multi-team access.

Requires gigstack Connect enabled on your team and shared billing account.

Example: ?team=team_xyz789

Request body

motivestring required

SAT cancellation motive code (01-04)

substitution_uuidstring nullable

UUID of the substituting invoice (required for motive 01)

Example request

{
  "motive": "02",
  "substitution_uuid": "12345678-1234-1234-1234-123456789012"
}

Response

Invoice cancelled successfully

messagestring required
dataobject required

Example response

{
  "message": "Operation completed successfully"
}