-
Notifications
You must be signed in to change notification settings - Fork 2
Void Payment Voucher
syazanisimit edited this page Jun 13, 2025
·
2 revisions
Using CURL in terminal console to void the Payment Voucher document. (* If there is no data in the data column, user may direct remove the column from the get data array.)
Get your Token here
curl --header "Content-Type: application/x-www-form-urlencoded" \
--request POST \
--data '
{
"action":"voidPaymentVoucher",
"module":"accounting",
"token":"yourtoken",
"uid":"admin",
"data":
{
"document_id":"",
"document_no":"API-PV-00019",
"document_reason":"Test void",
"organization_code":"HQ",
"branch_code":"HQ"
}
}
' \
https://simbiz_system_url/simbiz/api.php
The available field for void Payment Voucher Data
| No | Field Name | Data Type (Size) | Required | Description |
|---|---|---|---|---|
| 1 | document_id | varchar(50) | Y | Backend ID for the payment voucher (* will pick either one between document_id and document_no, document_id will be the first priority) |
| 2 | document_no | varchar(255) | Y | Document Number (* will pick either one between document_id and document_no, document_id will be the first priority) |
| 3 | document_reason | varchar(255) | Y | Document void reason |
| 4 | organization_code | varchar(200) | Y | Document Organization Code |
| 4 | branch_code | varchar(200) | Y | Document Organization Branch |