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"
}
Void a vendor bill
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"
}
jwt YOUR_TOKENapplication/jsoncurl -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"
}