Im trying to post a subaccount to the sales order lines without any luck. The order is created in visma.net successfully, but the subaccount dosent change. The subaccount in the json is 0000-14-0000. Any ide why its not changed on the lines ? URL: https://integration.visma.net/API/controller/api/v1/ salesorderMethod: POST "lines": [
{
"uom": {
"value": "STK"
},
"note": {
"value": null
},
"shipOn": {
"value": "2020-09-15T06:38:55.348Z"
},
"lineNbr": {
"value": 1
},
"freeItem": {
"value": false
},
"poSource": {
"value": null
},
"quantity": {
"value": 1
},
"unitCost": {
"value": 0
},
"completed": {
"value": false
},
"markForPO": {
"value": false
},
"operation": "Insert",
"unitPrice": {
"value": 20
},
"warehouse": {
"value": "1"
},
"invoiceNbr": {
"value": null
},
"reasonCode": {
"value": null
},
"subaccount": [
{
"segmentId": 1,
"segmentValue": "0000"
},
{
"segmentId": 2,
"segmentValue": "14"
},
{
"segmentId": 3,
"segmentValue": "0000"
}
],
"alternateID": {
"value": null
},
"inventoryId": {
"value": null
},
"projectTask": {
"value": null
},
"requestedOn": {
"value": "2020-09-15T06:38:55.349Z"
},
"salesPerson": {
"value": null
},
"taxCategory": {
"value": "3"
},
"branchNumber": {
"value": "1"
},
"discountCode": {
"value": null
},
"lotSerialNbr": {
"value": null
},
"shipComplete": {
"value": "BackOrderAllowed"
},
"discUnitPrice": {
"value": null
},
"commissionable": {
"value": false
},
"discountAmount": {
"value": null
},
"expirationDate": {
"value": null
},
"manualDiscount": {
"value": false
},
"discountPercent": {
"value": 0
},
"inventoryNumber": {
"value": "300"
},
"lineDescription": {
"value": "Vareprøve: (Parkett Skagen Eik Snow - 1731789)"
},
"overshipThreshold": {
"value": 100
},
"undershipThreshold": {
"value": 100
},
"salesOrderOperation": {
"value": null
}
},
... View more