void_b2b_exchange_invoice
Void a B2B exchange invoice (A0201) by providing invoice number, original invoice date, buyer/seller tax IDs, cancellation date/time, and reason.
Instructions
Void (invalidate) a B2B exchange invoice (A0201). 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": {
"cancel_invoice_number": "<cancel_invoice_number>",
"invoice_date": "<invoice_date>",
"buyer_id": "<buyer_id>",
"seller_id": "<seller_id>",
"cancel_date": "<cancel_date>",
"cancel_time": "<cancel_time>",
"cancel_reason": "<cancel_reason>"
},
"name": "void_b2b_exchange_invoice"
}
}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). | |
| invoice_date | Yes | Original invoice date (YYYYMMDD). | |
| cancel_reason | Yes | Cancellation reason. | |
| cancel_invoice_number | Yes | Exchange invoice number to void. | |
| return_tax_document_number | No | Return/tax document number. |