Settings: update debtor
debtors_updateUpdate debtor account fields such as address, bank details, or customer number. Submit only changed values to keep bookkeeping master data accurate.
Instructions
🟡 WRITE · updates data: Modifies existing master data in place.
update debtor
Update a debtor account.
Use to change a customer's address, bank details or customer number.
Overwrites the fields you send. Read the current record with debtors_list first if you intend a partial change.
Endpoint: POST /settings/update/debtor
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic | No | The new bic of the debtor account. If specified, the field will be validated. | |
| zip | No | The new zip of the debtor account. If specified, the field will be validated. | |
| city | No | The new city of the debtor account. If specified, the field will be validated. | |
| iban | No | The new iban of the debtor account. If specified, the field will be validated. | |
| name | No | The new name of the new debtor account | |
| No | The email of the debtor account. If specified, the field will be validated. | ||
| street | No | The new street of the debtor account. If specified, the field will be validated. | |
| country | No | The new country of the debtor account. If specified, the field will be validated. Valid cases are only the German version of the country name [Dänemark] OR the two digit ISO code of the country [DK]. | |
| sales_tax_id | No | The new sales tax id of the debtor account. If specified, the field will be validated. | |
| customer_number | No | The new customer_number of the debtor account. If specified, the field will be validated. | |
| contact_person_name | No | The new contact person name of the debtor account. If specified, the field will be validated. | |
| postingaccount_number | Yes | The postingaccount_number of the debtor account | |
| additional_address_line | No | The new additional address line of the debtor account. If specified, the field will be validated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | the updated Debitor | |
| message | No | blank | |
| success | Yes | Success boolean |