create_bill
Create a new bill in Bexio by specifying supplier, contact partner, dates, line items, amounts, discounts, and optional payment details.
Instructions
Create new Bill
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": {
"supplier_id": "<supplier_id>",
"contact_partner_id": "<contact_partner_id>",
"bill_date": "<bill_date>",
"due_date": "<due_date>",
"manual_amount": "<manual_amount>",
"currency_code": "<currency_code>",
"item_net": "<item_net>",
"attachment_ids": "<attachment_ids>",
"address": "<address>",
"line_items": "<line_items>",
"discounts": "<discounts>"
},
"name": "create_bill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| address | Yes | Address | |
| payment | No | ||
| due_date | Yes | ||
| item_net | Yes | Indicates whether 'amount' in 'line_items' is net or gross. | |
| bill_date | Yes | ||
| discounts | Yes | ||
| amount_man | No | Required when 'manual_amount' is true. Maximum of 17 digits and maximum of 2 decimal digits. | |
| line_items | Yes | ||
| vendor_ref | No | ||
| amount_calc | No | Required when 'manual_amount' is false. Maximum of 17 digits and maximum of 2 decimal digits. | |
| supplier_id | Yes | ||
| currency_code | Yes | ||
| exchange_rate | No | Required when 'currency_code' is different from 'base_currency_code' (taken from settings). Maximum of 5 digits and maximum of 10 decimal digits. | |
| manual_amount | Yes | indicates whether 'amount_man' or 'amount_calc' is required and considered as bill amount | |
| attachment_ids | Yes | ||
| purchase_order_id | No | ||
| contact_partner_id | Yes | ||
| qr_bill_information | No | ||
| base_currency_amount | No | Required when 'currency_code' is different from 'base_currency_code' (taken from settings). Maximum of 17 digits and maximum of 2 decimal digits. |