@Anonymous wrote:
We are using the /controller/api/v2/customerinvoice endpoint and we are having problems with this section:
"soShippingAddress": {
"value": {
"overrideAddress": {
"value": true
}
The section you've shared in the printscreen (Sales Order > Financials Settings >Invoice Address) is corresponding with
"soBillingAddress" array in the POST (SalesOrderUpdateDto) via API. Therefore, you should use Sales Order Endpoint for this operation. (https://integration.visma.net/API/controller/api/v1/salesorder) We're able to override the Sales Order's Invoice Address section via the POST Sales Order Endpoint. Please see the transaction details below. Example JSON {
"soBillingAddress": {
"value": {
"overrideAddress": {
"value": true
},
"addressLine1": {
"value": "override address API"
},
"postalCode": {
"value": "2600"
},
"city": {
"value": "Glostrup"
},
"countryId": {
"value": "DK"
}
}
},
"orderType": {
"value": "SO"
},
"date": {
"value": "2021-04-26"
},
"customerOrder": {
"value": "81327435"
},
"customerRefNo": {
"value": "Epay:217110470"
},
"customer": {
"value": "10023"
}
} Could you retry your transaction after adjusting it accordingly ? Thanks.
... View more