Skip to main content
POST
/
api
/
v1
/
invoices
/
{invoiceId}
/
void
Void an invoice
curl --request POST \
  --url https://api.contracting.kukkingu.software/api/v1/invoices/{invoiceId}/void \
  --header 'Authorization: Bearer <token>' \
  --header 'tenant-id: <tenant-id>'
{
  "data": {
    "id": "<string>",
    "contract": "ctr_z23aoo8naxk68ewcr64tchh5",
    "status": "FINALIZED",
    "invoiceNumber": "INV-2025-0001",
    "exchangeRate": 1.12,
    "currencyCode": "EUR",
    "amountMinor": 5000,
    "createdAt": "2023-10-05T14:48:00.000Z",
    "updatedAt": "2023-10-05T14:48:00.000Z",
    "issuedAt": "2023-10-05T14:48:00.000Z",
    "dueAt": "2023-10-05T14:48:00.000Z",
    "paidAt": "2023-10-05T14:48:00.000Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

tenant-id
string
required

Specifies the tenant context for the request. All endpoints operate within this tenant scope.

Example:

"tnt_pfh0haxfpzowht3oi213cqos"

Path Parameters

invoiceId
string
required

The ID of the invoice.

Example:

"inv_mqxd1kc6bgtcc676xoqzax47"

Response

Default Response

Standard success response payload wrapped in a data property.

data
object
required

Invoice resource returned by the API.