create_b2b_exchange_allowance
Generate a B2B exchange allowance (B0101) for Taiwan e-invoice. Requires seller address and returns API response.
Instructions
Create a B2B exchange allowance (B0101). Seller address is mandatory. 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>",
"seller_identifier": "<seller_identifier>",
"seller_name": "<seller_name>",
"seller_address": "<seller_address>",
"buyer_identifier": "<buyer_identifier>",
"buyer_name": "<buyer_name>",
"allowance_type": "<allowance_type>",
"items": "<items>",
"tax_amount": "<tax_amount>",
"total_amount": "<total_amount>"
},
"name": "create_b2b_exchange_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | List of product items. Each item: {ALLOWANCESEQUENCENUMBER, ORIGINALINVOICEDATE, ORIGINALINVOICENUMBER, ORIGINALDESCRIPTION, QUANTITY, UNITPRICE, AMOUNT, TAX, TAXTYPE, optional: UNIT, ORIGINALSEQUENCENUMBER}. | |
| buyer_name | Yes | Buyer name. | |
| tax_amount | Yes | Tax amount. | |
| seller_name | Yes | Seller name. | |
| seller_email | No | Seller email address. | |
| total_amount | Yes | Total amount. | |
| buyer_address | No | Buyer address. | |
| allowance_date | Yes | Allowance date (YYYYMMDD). | |
| allowance_type | Yes | Allowance type. | |
| seller_address | Yes | Seller address (mandatory). | |
| allowance_number | Yes | Allowance number. | |
| buyer_identifier | Yes | Buyer tax ID. | |
| seller_facsimile | No | Seller facsimile number. | |
| seller_telephone | No | Seller telephone number. | |
| seller_identifier | Yes | Seller tax ID. | |
| seller_person_in_charge | No | Seller person in charge. | |
| original_invoice_buyer_id | No | Original invoice buyer ID. | |
| original_invoice_seller_id | No | Original invoice seller ID. |