update_invoice
Modify existing invoices in Bexio by updating details such as header, footer, dates, contact, currency, and tax settings.
Instructions
Edit an invoice
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| footer | No | ||
| header | No | ||
| user_id | No | References a [user object](#operation/v3ListUsers) | |
| mwst_type | No | | value | description | |-----|------| | 0 | including taxes | | 1 | excluding taxes | | 2 | exempt from taxes | | |
| reference | No | ||
| contact_id | No | References a [contact object](#operation/v2ListContacts) | |
| invoice_id | Yes | the id of the invoice | |
| currency_id | No | References a [currency object](#operation/ListCurrencies) | |
| document_nr | No | Can not be used if “automatic numbering” is activated in frontend-settings. Required if “automatic numbering” deactivated. https://help.bexio.com/s/article/000001784 | |
| is_valid_to | No | ||
| language_id | No | References a [language object](#operation/v2ListLanguages) | |
| mwst_is_net | No | This value affects the total if the field `mwst_type` has been set to 0.<br> `false` = Taxes are included in the total<br> `true` = Taxes will be added to the total | |
| logopaper_id | No | ||
| api_reference | No | This field can only be read and edited by the api. It can be used to save references to other systems. | |
| is_valid_from | No | ||
| pr_project_id | No | References a [project object](#operation/v2ListProjects) | |
| template_slug | No | References a [document template slug](#operation/v3ListDocumentTemplate) | |
| contact_sub_id | No | References a [contact object](#operation/v2ListContacts) | |
| bank_account_id | No | References a [bank account object](#operation/ListBankAccounts) | |
| payment_type_id | No | References a [payment type object](#operation/v2ListPaymentTypes) | |
| show_position_taxes | No | ||
| contact_address_manual | No | This field can be used to set a contact address manually. If not in use or `null` the invoice address of the contact will be taken. |