Service
ttps://api.timewax.com/company/debtors/edit/
Goal
Editing existing debtors on a company
Request
The following xml structure must be provided:
<request>
<token></token>
<company></company>
<debtor></debtor>
<item>
<name></name>
<attn></attn>
<address></address>
<postcode></postcode>
<city></city>
<country></country>
<debtorNumber></debtorNumber>
<email></email>
</item>
</request>
Parameter | Description | Required |
---|---|---|
token | Token for this request | yes |
company | Code or name of the company | yes |
debtor | Debtor name | yes |
name | Name of the debtor | no |
attn | Contact person for invoices | no |
address | Invoice address | no |
postcode | Post code invoice address | no |
city | City invoice address | no |
country | Country invoice address | no |
debtorNumber | Debtor number | no |
Debtor email | no |
The following xml structure is received after an successful execution:
<response>
<valid>yes</valid>
</response>
Parameter | Description |
---|---|
valid | Indication that service was executed successfully |
The following xml structure is received after an incorrect execution:
<response>
<valid>no</valid>
<errors>no</errors>
</response>
Parameter | Description |
---|---|
valid | Indication that service was not executed successfully |
errors | Reason why the service has executed unsuccessfully |
Opmerkingen