Skip to main content
POST
/
service
/
general-ledger
/
invoices
/
{invoice_id}
/
void
curl -X POST https://kube.acho.io/service/general-ledger/invoices/INV-2024-001/void \
  -H "Authorization: jwt YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"reason": "Customer cancelled order"}'
{
  "invoice_id": "INV-2024-001",
  "status": "Voided",
  "void_reason": "Customer cancelled order",
  "voided_at": "2024-01-20T10:00:00Z"
}

Request

Void a customer invoice.

Headers

Authorization
string
required
JWT authentication token. Format: jwt YOUR_TOKEN
Content-Type
string
required
Must be application/json

Path Parameters

invoice_id
string
required
The invoice ID

Body Parameters

reason
string
required
Reason for voiding
Invoices with payments cannot be voided. You must first void any associated payments or issue a credit memo.
curl -X POST https://kube.acho.io/service/general-ledger/invoices/INV-2024-001/void \
  -H "Authorization: jwt YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"reason": "Customer cancelled order"}'
{
  "invoice_id": "INV-2024-001",
  "status": "Voided",
  "void_reason": "Customer cancelled order",
  "voided_at": "2024-01-20T10:00:00Z"
}