update_purchase_order
Update a single purchase order in Bexio by changing its fields, such as contact, currency, language, and document settings.
Instructions
Update a single purchase order
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The id of the purchase order | |
| No | The mail address of the company | ||
| title | No | ||
| footer | No | ||
| header | No | ||
| user_id | No | References a [user object](#operation/v3ListUsers) | |
| currency | No | ||
| language | No | ||
| mwst_type | No | Possible values are * `included` - included means that the tax is included in the total price * `excluded` - excluded means that the tax is excluded from the total price * `exempt` - exempt means that no tax is charged | |
| reference | No | A reference which can be added to the document by the client. | |
| contact_id | No | References a [contact object](#operation/v2ListContacts) | |
| created_at | No | Creation date of the purchase order | |
| project_id | No | References a [project object](#operation/v2ListProjects) | |
| updated_at | No | Last time when purchase order was updated | |
| currency_id | No | References a [currency object](#operation/ListCurrencies) | |
| date_format | No | ||
| document_nr | No | ||
| 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 | ||
| template_slug | No | ||
| contact_sub_id | No | References a [contact object](#operation/v2ListContacts) | |
| is_valid_until | No | ||
| bank_account_id | No | References a [bank account object](#operation/ListBankAccounts) | |
| is_compact_view | No | ||
| payment_type_id | No | References a [payment type object](#operation/v2ListPaymentTypes) | |
| salesman_user_id | No | References a [user object](#operation/v3ListUsers) | |
| nb_decimals_price | No | The maximum number of decimal digits to display for prices (line item prices, totals, etc.). | |
| purchase_order_id | Yes | the id of the purchase order | |
| nb_decimals_amount | No | The maximum number of decimal digits to display for amounts (number of items). | |
| custom_translations | No | ||
| show_position_taxes | No | ||
| delivery_address_type | No | ||
| terms_of_payment_text | No | Additional text which is displayed below the terms of payment | |
| contact_address_manual | No | The contact address for the document. Newlines are in the format `\n` | |
| kb_payment_template_id | No | ||
| delivery_address_manual | No | The delivery address for order. Newlines are in the format `\n` |