void_b2b_allowance
Void a B2B allowance document by submitting allowance number, original dates, buyer and seller tax IDs, and cancellation reason.
Instructions
Void (invalidate) a B2B allowance (B0501). Uses Allowance wrapper. 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_b2b_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remark | No | Remark. | |
| buyer_id | Yes | Buyer tax ID. | |
| seller_id | Yes | Seller tax ID. | |
| 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. |