void_b2c_allowance
Void a B2C allowance by providing allowance number, dates, buyer and seller IDs, and cancellation details. Returns API response.
Instructions
Void (invalidate) a B2C allowance (D0501). Returns the API response.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"allowance_number": "<allowance_number>",
"allowance_date": "<allowance_date>",
"buyer_id": "<buyer_id>",
"seller_id": "<seller_id>",
"cancel_date": "<cancel_date>",
"cancel_time": "<cancel_time>",
"cancel_reason": "<cancel_reason>"
},
"name": "void_b2c_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remark | No | Remark. | |
| buyer_id | Yes | Buyer identifier. | |
| seller_id | Yes | Seller identifier. | |
| cancel_date | Yes | Cancellation date (YYYYMMDD). | |
| cancel_time | Yes | Cancellation time (HHmmss). | |
| cancel_reason | Yes | Cancellation reason. | |
| allowance_date | Yes | Original allowance date (YYYYMMDD). | |
| allowance_type | No | Allowance type. | |
| allowance_number | Yes | Allowance number to void. | |
| return_tax_document_number | No | Return/tax document number. |