update_bill
Update existing bills in Bexio by modifying supplier, dates, line items, discounts, attachments, and payment info. Choose manual or calculated amounts and split line items as needed.
Instructions
Update Bill
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | id of Bill to update | |
| title | No | ||
| address | Yes | Address | |
| payment | No | ||
| due_date | Yes | ||
| item_net | Yes | ||
| bill_date | Yes | ||
| discounts | Yes | Each of Discount's 'id' must be unique (no duplicates) and already existing on the Bill or it should be null for creating new Discount. When 'split_into_line_items' is false then there must 0 Discounts. | |
| amount_man | No | Required when 'manual_amount' is true. Maximum of 17 digits and maximum of 2 decimal digits. | |
| line_items | Yes | Each of Line Item's 'id' must be unique (no duplicates) and already existing on the Bill or it should be null for creating new Line Item. When 'split_into_line_items' is false then there must be only 1 Line Item. | |
| vendor_ref | No | ||
| amount_calc | No | Required when 'manual_amount' is false. Maximum of 17 digits and maximum of 2 decimal digits. | |
| document_no | No | ||
| 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 | ||
| contact_partner_id | Yes | ||
| base_currency_amount | No | Maximum of 17 digits and maximum of 2 decimal digits. | |
| split_into_line_items | Yes | Indicates whether Bill has multiple items (true) or single item (false). By items it means 'line_items' and 'discounts'. |