Skip to main content
POST
/
service
/
general-ledger
/
bills
/
{bill_id}
/
void
curl -X POST https://kube.acho.io/service/general-ledger/bills/BILL-2024-001/void \
  -H "Authorization: jwt YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "Duplicate entry"
  }'
{
  "bill_id": "BILL-2024-001",
  "status": "Voided",
  "void_reason": "Duplicate entry",
  "voided_at": "2024-01-20T10:00:00Z",
  "voided_by": "user_123"
}

Request

Void a vendor bill. Voided bills remain in the system for audit purposes but have no effect on account balances or payables.

Headers

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

Path Parameters

bill_id
string
required
The unique identifier of the bill to void

Body Parameters

reason
string
required
Reason for voiding the bill
Bills with payments cannot be voided. You must first void any associated payments.
curl -X POST https://kube.acho.io/service/general-ledger/bills/BILL-2024-001/void \
  -H "Authorization: jwt YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "Duplicate entry"
  }'
{
  "bill_id": "BILL-2024-001",
  "status": "Voided",
  "void_reason": "Duplicate entry",
  "voided_at": "2024-01-20T10:00:00Z",
  "voided_by": "user_123"
}