Change the balance of a voucher by adding or deducting money from it
None.
VoucherNumber, InventoryNumber
Voucher| Name | Description | Type | Additional information |
|---|---|---|---|
| VoucherNumber |
Number of the Voucher |
string |
None. |
| InventoryNumber |
Number of the Inventory where the voucher was sold |
string |
None. |
| Amount |
Amount of money that will be taken in a sale Decimal |
decimal number |
None. |
| GUID |
GUID of the transaction Decimal |
string |
None. |
{
"VoucherNumber": "sample string 1",
"InventoryNumber": "sample string 2",
"Amount": 3.0,
"GUID": "sample string 4"
}
<Voucher xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC"> <Amount>3</Amount> <GUID>sample string 4</GUID> <InventoryNumber>sample string 2</InventoryNumber> <VoucherNumber>sample string 1</VoucherNumber> </Voucher>
Sample not available.
Voucher Infos
VoucherResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success |
Was the request answered successfully |
boolean |
None. |
| Message |
Additional details |
string |
None. |
| PLU |
PLU |
integer |
None. |
| GUID |
GUID for the transaction |
string |
None. |
{
"Success": true,
"Message": "sample string 2",
"PLU": 3,
"GUID": "sample string 4"
}
<VoucherResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC"> <GUID>sample string 4</GUID> <Message>sample string 2</Message> <PLU>3</PLU> <Success>true</Success> </VoucherResponse>