Skip to main content
POST
/
service
/
general-ledger
/
bill-payments
/
{bill_payment_id}
/
void
curl -X POST https://kube.acho.io/service/general-ledger/bill-payments/BP-2024-001/void \
  -H "Authorization: jwt YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"reason": "Payment cancelled"}'
{
  "bill_payment_id": "BP-2024-001",
  "status": "Voided",
  "void_reason": "Payment cancelled",
  "voided_at": "2024-02-15T10:00:00Z"
}

Request

Void a bill payment. This reverses the payment’s effect on the bill balance.

Headers

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

Path Parameters

bill_payment_id
string
required
The payment ID

Body Parameters

reason
string
required
Reason for voiding
curl -X POST https://kube.acho.io/service/general-ledger/bill-payments/BP-2024-001/void \
  -H "Authorization: jwt YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"reason": "Payment cancelled"}'
{
  "bill_payment_id": "BP-2024-001",
  "status": "Voided",
  "void_reason": "Payment cancelled",
  "voided_at": "2024-02-15T10:00:00Z"
}