Resource: office.nv
HTTP-method: POST
Adding and editing customer's place of business details.
Parameters used in the call:
| Parameter | Occurs | Description | Example |
| method | 1 | Add or Edit | Add |
| customerid | 1 | Customer's NetvisorID |
123 |
| officeid | 0...1 | Place of business NetvisorID, mandatory when editing existing place of business | 1 |
Additional notes:
- With edit message, you can delete information by providing the tag content as empty.
- Place of business name is mandatory, so it can never be empty.
- FinvoiceAddress must be a valid OVT or IBAN identifier.
- FinvoiceOperator accepts the same operator IDs as everywhere else in the interface, see list in customer.nv resource help.
- The officeid information can be retrieved with the resource getcustomer.nv
The imported data is sent with the call as XML according to the following description (POST-data):
| Level | Element | Type | Occurs | Description | Example |
| Root | root | Aggregate | 1 | ||
| 1 | office | Aggregate | 1 | ||
| 2 | name | String | 1 | Place of business name | |
| 2 | phonenumber | String | 0...1 | Place of business phone number | |
| 2 | telefaxnumber | String | 0...1 | Place of business fax | |
| 2 | officeidentifier | String | 0...1 | Place of business code |
|
| 2 | emailinvoicingaddress | String | 0...1 | Place of business invoicing email | |
| 2 | officecontactaddress | Aggregate | 0...1 | Place of business postal address details | |
| 3 | streetaddress | String | 1 | Street address | |
| 3 | postnumber | String | 1 | Postal code | |
| 3 | city | String | 1 | City | |
| 3 | country | String | 1 | Country code | |
| Attr. | type | String | 1 | Always ISO-3166 |
|
| 2 | officevisitaddress | Aggregate | 0...1 | Place of business visiting address details | |
| 3 | streetaddress | String | 1 | Street address | |
| 3 | postnumber | String | 1 | Postal code | |
| 3 | city | String | 1 | City | |
| 3 | country | String | 1 | Country code | |
| Attr. | type | String | 1 | Always ISO-3166 |
|
| 2 | officefinvoicedetails | Aggregate | 0...1 | Place of business e-invoice details |
|
| 3 | finvoiceaddress | String | 1 | E-invoice address (IBAN or OVT) |
|
| 3 | finvoiceroutercode | String | 1 | E-invoice operator |
Did you find it helpful? Yes No
Send feedback